Lines Matching defs: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;
592 static bool FixupInvocation(CompilerInvocation &Invocation,
777 // Parse command line arguments into CompilerInvocation.
779 llvm::function_ref<bool(CompilerInvocation &, ArrayRef<const char *>,
782 // Generate command line arguments from CompilerInvocation.
784 CompilerInvocation &, SmallVectorImpl<const char *> &,
785 CompilerInvocation::StringAllocator)>;
793 /// CompilerInvocation, which is used to generate the command line arguments
794 /// again. The real CompilerInvocation is then created by parsing the generated
800 /// CompilerInvocation instance. By default, we compare it to the command line
801 /// the real CompilerInvocation generates. This checks whether the generator is
806 CompilerInvocation &RealInvocation,
807 CompilerInvocation &DummyInvocation,
937 bool CompilerInvocation::checkCC1RoundTrip(ArrayRef<const char *> Args,
940 CompilerInvocation DummyInvocation1, DummyInvocation2;
942 [](CompilerInvocation &Invocation, ArrayRef<const char *> CommandLineArgs,
946 [](CompilerInvocation &Invocation, SmallVectorImpl<const char *> &Args,
1524 void CompilerInvocation::setDefaultPointerAuthOptions(
1578 CompilerInvocation::setDefaultPointerAuthOptions(Opts, LangOpts, Triple);
1728 // '-fembed_bitcode', which does not map to any CompilerInvocation field and
1848 bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args,
3229 std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
3934 bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
4925 bool CompilerInvocation::CreateFromArgsImpl(
4926 CompilerInvocation &Res, ArrayRef<const char *> CommandLineArgs,
5047 bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Invocation,
5051 CompilerInvocation DummyInvocation;
5054 [](CompilerInvocation &Invocation, ArrayRef<const char *> CommandLineArgs,
5058 [](CompilerInvocation &Invocation, SmallVectorImpl<const char *> &Args,
5066 std::string CompilerInvocation::getModuleHash() const {
5218 void CompilerInvocation::resetNonModularOptions() {
5224 void CompilerInvocation::clearImplicitModuleBuildOptions() {
5237 clang::createVFSFromCompilerInvocation(const CompilerInvocation &CI,
5245 const CompilerInvocation &CI, DiagnosticsEngine &Diags,