ΒΆconst llvm::opt::ArgStringList* getCC1Arguments(
clang::DiagnosticsEngine* Diagnostics,
driver::Compilation* Compilation)
const llvm::opt::ArgStringList* getCC1Arguments(
clang::DiagnosticsEngine* Diagnostics,
driver::Compilation* Compilation)
Description
Retrieves the flags of the `-cc1` job in `Compilation` that has only source files as its inputs. Returns nullptr if there are no such jobs or multiple of them. Note that offloading jobs are ignored.
Declared at: clang/include/clang/Tooling/Tooling.h:73
Parameters
- clang::DiagnosticsEngine* Diagnostics
- driver::Compilation* Compilation