Lines Matching refs:CompilerInvocation

1 //===- CompilerInvocation.cpp ---------------------------------------------===//
9 #include "clang/Frontend/CompilerInvocation.h"
194 CompilerInvocation::CompilerInvocation(const CowCompilerInvocation &X)
199 CompilerInvocation &
200 CompilerInvocation::operator=(const CowCompilerInvocation &X) {
278 using ArgumentConsumer = CompilerInvocation::ArgumentConsumer;
569 static bool FixupInvocation(CompilerInvocation &Invocation,
754 // Parse command line arguments into CompilerInvocation.
756 llvm::function_ref<bool(CompilerInvocation &, ArrayRef<const char *>,
759 // Generate command line arguments from CompilerInvocation.
761 CompilerInvocation &, SmallVectorImpl<const char *> &,
762 CompilerInvocation::StringAllocator)>;
770 /// CompilerInvocation, which is used to generate the command line arguments
771 /// again. The real CompilerInvocation is then created by parsing the generated
777 /// CompilerInvocation instance. By default, we compare it to the command line
778 /// the real CompilerInvocation generates. This checks whether the generator is
783 CompilerInvocation &RealInvocation,
784 CompilerInvocation &DummyInvocation,
915 bool CompilerInvocation::checkCC1RoundTrip(ArrayRef<const char *> Args,
918 CompilerInvocation DummyInvocation1, DummyInvocation2;
920 [](CompilerInvocation &Invocation, ArrayRef<const char *> CommandLineArgs,
924 [](CompilerInvocation &Invocation, SmallVectorImpl<const char *> &Args,
1474 void CompilerInvocation::setDefaultPointerAuthOptions(
1520 CompilerInvocation::setDefaultPointerAuthOptions(Opts, LangOpts, Triple);
1670 // '-fembed_bitcode', which does not map to any CompilerInvocation field and
1769 bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args,
3123 std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
3830 bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
4773 bool CompilerInvocation::CreateFromArgsImpl(
4774 CompilerInvocation &Res, ArrayRef<const char *> CommandLineArgs,
4895 bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Invocation,
4899 CompilerInvocation DummyInvocation;
4902 [](CompilerInvocation &Invocation, ArrayRef<const char *> CommandLineArgs,
4906 [](CompilerInvocation &Invocation, SmallVectorImpl<const char *> &Args,
4914 std::string CompilerInvocation::getModuleHash() const {
5066 void CompilerInvocation::resetNonModularOptions() {
5072 void CompilerInvocation::clearImplicitModuleBuildOptions() {
5085 clang::createVFSFromCompilerInvocation(const CompilerInvocation &CI,
5093 const CompilerInvocation &CI, DiagnosticsEngine &Diags,