Home
last modified time | relevance | path

Searched refs:FrontendOpts (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp69 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in onBodySynthesis() local
71 FrontendOpts.Inputs.clear(); in onBodySynthesis()
72 FrontendOpts.Inputs.emplace_back(fileName, IK); in onBodySynthesis()
73 FrontendOpts.DisableFree = true; in onBodySynthesis()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp69 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in onBodySynthesis() local
71 FrontendOpts.Inputs.clear(); in onBodySynthesis()
72 FrontendOpts.Inputs.emplace_back(fileName, IK); in onBodySynthesis()
73 FrontendOpts.DisableFree = true; in onBodySynthesis()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h119 FrontendOptions FrontendOpts; variable
198 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts()
200 return FrontendOpts; in getFrontendOpts()
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInvocation.h136 FrontendOptions FrontendOpts; variable
227 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts()
228 const FrontendOptions &getFrontendOpts() const { return FrontendOpts; } in getFrontendOpts()
/external/clang/lib/Frontend/
DASTUnit.cpp1189 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in ComputePreamble() local
1197 std::string MainFilePath(FrontendOpts.Inputs[0].getFile()); in ComputePreamble()
1231 BufferOwner = getBufferForFile(FrontendOpts.Inputs[0].getFile()); in ComputePreamble()
1347 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in getMainBufferWithPrecompiledPreamble() local
1452 NewPreamble.Buffer->getBuffer(), FrontendOpts.Inputs[0].getFile()); in getMainBufferWithPrecompiledPreamble()
1495 StringRef MainFilename = FrontendOpts.Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble()
1505 StringRef MainFilePath = FrontendOpts.Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble()
1509 FrontendOpts.ProgramAction = frontend::GeneratePCH; in getMainBufferWithPrecompiledPreamble()
1511 FrontendOpts.OutputFile = PreamblePCHPath; in getMainBufferWithPrecompiledPreamble()
1533 llvm::sys::fs::remove(FrontendOpts.OutputFile); in getMainBufferWithPrecompiledPreamble()
[all …]
DCompilerInstance.cpp967 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in compileModuleImpl() local
968 FrontendOpts.OutputFile = ModuleFileName.str(); in compileModuleImpl()
969 FrontendOpts.DisableFree = false; in compileModuleImpl()
970 FrontendOpts.GenerateGlobalModuleIndex = false; in compileModuleImpl()
971 FrontendOpts.BuildingImplicitModule = true; in compileModuleImpl()
972 FrontendOpts.Inputs.clear(); in compileModuleImpl()
1015 FrontendOpts.Inputs.emplace_back(ModuleMapFile->getName(), IK); in compileModuleImpl()
1019 FrontendOpts.Inputs.emplace_back(FakeModuleMapFile, IK); in compileModuleImpl()
/external/llvm-project/clang/lib/Frontend/
DPrecompiledPreamble.cpp321 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in Build() local
347 FrontendOpts.ProgramAction = frontend::GeneratePCH; in Build()
348 FrontendOpts.OutputFile = in Build()
407 StringRef MainFilePath = FrontendOpts.Inputs[0].getFile(); in Build()
DCompilerInstance.cpp1117 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); local
1118 FrontendOpts.OutputFile = ModuleFileName.str();
1119 FrontendOpts.DisableFree = false;
1120 FrontendOpts.GenerateGlobalModuleIndex = false;
1121 FrontendOpts.BuildingImplicitModule = true;
1122 FrontendOpts.OriginalModuleMap = std::string(OriginalModuleMapFile);
1125 FrontendOpts.Inputs = {Input};
DFrontendActions.cpp111 const auto &FrontendOpts = CI.getFrontendOpts(); in CreateASTConsumer() local
116 FrontendOpts.ModuleFileExtensions, in CreateASTConsumer()
118 FrontendOpts.IncludeTimestamps, +CI.getLangOpts().CacheGeneratedPCH)); in CreateASTConsumer()
DASTUnit.cpp2155 FrontendOptions &FrontendOpts = CCInvocation->getFrontendOpts(); in CodeComplete() local
2156 CodeCompleteOptions &CodeCompleteOpts = FrontendOpts.CodeCompleteOpts; in CodeComplete()
2169 FrontendOpts.CodeCompletionAt.FileName = std::string(File); in CodeComplete()
2170 FrontendOpts.CodeCompletionAt.Line = Line; in CodeComplete()
2171 FrontendOpts.CodeCompletionAt.Column = Column; in CodeComplete()
DCompilerInvocation.cpp310 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in FixupInvocation() local
314 FrontendOpts.GenerateGlobalModuleIndex = FrontendOpts.UseGlobalModuleIndex; in FixupInvocation()
815 const FrontendOptions &FrontendOpts) { in ParseCodeGenArgs() argument
1153 .Case("obj", FrontendOpts.OutputFile) in ParseCodeGenArgs()
1154 .Default(llvm::sys::path::filename(FrontendOpts.OutputFile).str()); in ParseCodeGenArgs()
/external/llvm-project/clang-tools-extra/clangd/
DCodeComplete.cpp1092 auto &FrontendOpts = CI->getFrontendOpts(); in semaCodeComplete() local
1093 FrontendOpts.SkipFunctionBodies = true; in semaCodeComplete()
1101 FrontendOpts.CodeCompleteOpts = Options; in semaCodeComplete()
1102 FrontendOpts.CodeCompletionAt.FileName = std::string(Input.FileName); in semaCodeComplete()
1103 std::tie(FrontendOpts.CodeCompletionAt.Line, in semaCodeComplete()
1104 FrontendOpts.CodeCompletionAt.Column) = in semaCodeComplete()
/external/llvm-project/clang/include/clang/Driver/
DOptions.td339 MarshallingInfoFlag<"FrontendOpts.ARCMTMigrateEmitARCErrors">;
354 MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_Literals">;
357 MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_Subscripting">;
360 MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_Property">;
363 MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_MigrateDecls">;
366 …MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_ReadonlyProperty…
369 …MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_ReadwritePropert…
372 …MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_PropertyDotSynta…
375 MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_Annotation">;
378 MarshallingInfoBitfieldFlag<"FrontendOpts.ObjCMTAction", "FrontendOptions::ObjCMT_Instancetype">;
[all …]