Home
last modified time | relevance | path

Searched refs:getPreprocessorOpts (Results 1 – 17 of 17) sorted by relevance

/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DChainedIncludesSource.cpp115 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in createChainedIncludesSource()
129 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
130 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
131 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createChainedIncludesSource()
132 CInvok->getPreprocessorOpts().DisablePCHValidation = true; in createChainedIncludesSource()
133 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
134 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
135 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
H A DFrontendAction.cpp261 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
263 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
276 CI.getPreprocessorOpts())) { in BeginSourceFile()
325 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
333 } else if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
339 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
344 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile()
347 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
352 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile()
353 CI.getPreprocessorOpts().DisablePCHValidation, in BeginSourceFile()
[all …]
H A DCompilerInstance.cpp290 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
303 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor()
400 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
869 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in compileModuleImpl()
894 = ImportingInstance.getInvocation().getPreprocessorOpts(); in compileModuleImpl()
1248 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createModuleManager()
1438 if (getPreprocessorOpts().FailedModules && in loadModule()
1439 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in loadModule()
1452 if (getPreprocessorOpts().FailedModules) in loadModule()
1453 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in loadModule()
H A DASTUnit.cpp256 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1106 PreprocessorOptions &PreprocessorOpts = Clang->getPreprocessorOpts(); in Parse()
1188 PreprocessorOptions &PreprocessorOpts = Invocation.getPreprocessorOpts(); in ComputePreamble()
1350 = PreambleInvocation->getPreprocessorOpts(); in getMainBufferWithPrecompiledPreamble()
1762 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1867 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1953 CI->getPreprocessorOpts().addRemappedFile(RemappedFiles[I].first, in LoadFromCommandLine()
1956 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
2019 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
2023 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
[all …]
H A DCompilerInvocation.cpp62 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {} in CompilerInvocationBase()
1877 ParsePreprocessorArgs(Res.getPreprocessorOpts(), *Args, FileMgr, Diags); in CreateFromArgs()
1964 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
1969 I = getPreprocessorOpts().Macros.begin(), in getModuleHash()
1970 IEnd = getPreprocessorOpts().Macros.end(); in getModuleHash()
H A DFrontendActions.cpp404 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
/minix3/external/bsd/llvm/dist/clang/unittests/Frontend/
H A DFrontendActionTest.cpp80 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
100 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
122 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
173 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
/minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DCompilerInvocation.h91 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
92 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
H A DCompilerInstance.h281 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
282 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
284 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
285 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
/minix3/external/bsd/llvm/dist/clang/unittests/AST/
H A DExternalASTSourceTest.cpp52 Invocation->getPreprocessorOpts().addRemappedFile( in testExternalASTSource()
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DARCMT.cpp172 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
189 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createInvocationForMigration()
192 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
521 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DIndexing.cpp419 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in CreateASTConsumer()
580 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB.get()); in clang_indexSourceFile_Impl()
628 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in clang_indexSourceFile_Impl()
/minix3/external/bsd/llvm/dist/clang/lib/Tooling/
H A DTooling.cpp232 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(), in run()
/minix3/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DPreprocessor.h498 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp1348 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock()
H A DASTReader.cpp585 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()