Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DChainedIncludesSource.cpp116 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in createChainedIncludesSource()
130 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
131 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
132 CInvok->getPreprocessorOpts().DisablePCHOrModuleValidation = in createChainedIncludesSource()
134 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
135 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
136 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
H A DFrontendAction.cpp588 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
724 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
726 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
741 CI.getLangOpts(), CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
848 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
857 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
863 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
868 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile()
871 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
875 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
[all …]
H A DCompilerInstance.cpp227 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in collectIncludePCH()
446 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
565 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
1053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1083 = ImportingInstance.getInvocation().getPreprocessorOpts();
1501 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createASTReader()
1809 if (getPreprocessorOpts().FailedModules && in findOrCompileModuleAndReadAST()
1810 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in findOrCompileModuleAndReadAST()
1821 if (getPreprocessorOpts().FailedModules) in findOrCompileModuleAndReadAST()
1822 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in findOrCompileModuleAndReadAST()
H A DASTUnit.cpp162 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1542 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1649 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1741 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1744 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1824 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1828 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1830 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
2138 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete()
H A DPrecompiledPreamble.cpp323 PreambleInvocation->getPreprocessorOpts(); in Build()
506 PreambleInvocation->getPreprocessorOpts(); in CanReuse()
797 auto &PreprocessorOpts = CI.getPreprocessorOpts(); in configurePreamble()
H A DFrontendActions.cpp117 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer()
150 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles()
335 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
H A DInitPreprocessor.cpp1214 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
1217 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
H A DCompilerInvocation.cpp125 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())), in CompilerInvocationRefBase()
4391 ParseLangArgs(LangOpts, Args, DashX, T, Res.getPreprocessorOpts().Includes, in CreateFromArgsImpl()
4419 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags, in CreateFromArgsImpl()
4505 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
4509 for (const auto &I : getPreprocessorOpts().Macros) { in getModuleHash()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DCompilerInstance.h305 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
306 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
308 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
309 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
H A DCompilerInvocation.h121 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
123 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
H A DASTUnit.h471 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/handle-cxx/
H A Dhandle_cxx.cpp43 Invocation->getPreprocessorOpts().addRemappedFile(FileName, in HandleCXX()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DARCMT.cpp178 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
195 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
531 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/netbsd-src/external/mit/isl/dist/interface/
H A Dextract_interface.cc432 PreprocessorOptions &PO = Clang->getPreprocessorOpts(); in set_lang_defaults()
557 PreprocessorOptions &PO = Clang->getPreprocessorOpts(); in main()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPragma.cpp1044 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1049 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1052 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) { in HandlePragma()
1090 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1093 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1121 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DIndexing.cpp350 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in CreateASTConsumer()
537 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB.get()); in clang_indexSourceFile_Impl()
590 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in clang_indexSourceFile_Impl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp95 Compiler.getPreprocessorOpts() in runInvocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/
H A DInterpreter.cpp104 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp144 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
H A DCodeGenAction.cpp956 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
1088 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in ExecuteAction()
H A DCodeGenModule.h706 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/
H A Dclang-import-test.cpp233 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), LLVMCtx)); in BuildCodeGen()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessor.h917 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp756 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()
770 PP.getPreprocessorOpts(), in ReadPreprocessorOptions()
2914 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadControlBlock()
3926 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadModuleMapFileBlock()
5542 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadSubmoduleBlock()

12