Changeset View
Changeset View
Standalone View
Standalone View
lib/Tooling/CompilationDatabase.cpp
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | void runImpl(const driver::Action *A, bool Collect) { | ||||
default: | default: | ||||
// Don't care about others | // Don't care about others | ||||
; | ; | ||||
} | } | ||||
for (driver::ActionList::const_iterator I = A->begin(), E = A->end(); | for (driver::ActionList::const_iterator I = A->begin(), E = A->end(); | ||||
I != E; ++I) | I != E; ++I) | ||||
runImpl(*I, CollectChildren); | runImpl(I->get(), CollectChildren); | ||||
} | } | ||||
}; | }; | ||||
// Special DiagnosticConsumer that looks for warn_drv_input_file_unused | // Special DiagnosticConsumer that looks for warn_drv_input_file_unused | ||||
// diagnostics from the driver and collects the option strings for those unused | // diagnostics from the driver and collects the option strings for those unused | ||||
// options. | // options. | ||||
class UnusedInputDiagConsumer : public DiagnosticConsumer { | class UnusedInputDiagConsumer : public DiagnosticConsumer { | ||||
public: | public: | ||||
▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines |