Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
848 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
857 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
863 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
871 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
875 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
877 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile()
878 CI.getPreprocessorOpts().DisablePCHOrModuleValidation, 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()
1070 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1100 = ImportingInstance.getInvocation().getPreprocessorOpts();
1518 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createASTReader()
1826 if (getPreprocessorOpts().FailedModules && in findOrCompileModuleAndReadAST()
1827 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in findOrCompileModuleAndReadAST()
1838 if (getPreprocessorOpts().FailedModules) in findOrCompileModuleAndReadAST()
1839 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in findOrCompileModuleAndReadAST()
H A DASTUnit.cpp162 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1543 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1650 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1742 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1745 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1825 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1829 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1831 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
2139 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.cpp138 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer()
171 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles()
357 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
H A DInitPreprocessor.cpp1216 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
1219 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
H A DCompilerInvocation.cpp125 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())), in CompilerInvocationRefBase()
4389 ParseLangArgs(LangOpts, Args, DashX, T, Res.getPreprocessorOpts().Includes, in CreateFromArgsImpl()
4417 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags, in CreateFromArgsImpl()
4503 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
4507 for (const auto &I : getPreprocessorOpts().Macros) { in getModuleHash()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp171 Compiler.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = true; in runInvocation()
181 if (!Compiler.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation()
183 Compiler.getPreprocessorOpts().ImplicitPCHInclude, Compiler, in runInvocation()
213 Compiler.getPreprocessorOpts() in runInvocation()
H A DModuleDepCollector.cpp42 CI.getPreprocessorOpts().ImplicitPCHInclude.clear(); in makeInvocationForModuleBuildWithoutPaths()
170 if (!Instance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile()
171 MDC.FileDeps.push_back(Instance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp1107 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1112 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1115 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) { in HandlePragma()
1153 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1156 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1184 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
H A DLexer.cpp3000 if (!PP || !PP->getPreprocessorOpts().LexEditorPlaceholders || LexingRawMode) in lexEditorPlaceholder()
/freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp104 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp144 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
H A DCodeGenAction.cpp958 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
1090 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in ExecuteAction()
H A DCodeGenModule.h706 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp676 invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, in Create()
H A DClangExpressionParser.cpp724 m_compiler->getHeaderSearchOpts(), m_compiler->getPreprocessorOpts(), in ClangExpressionParser()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h918 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp756 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()
770 PP.getPreprocessorOpts(), in ReadPreprocessorOptions()
807 PP.getLangOpts(), PP.getPreprocessorOpts()); in ReadHeaderSearchOptions()
2921 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadControlBlock()
3942 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadModuleMapFileBlock()
5558 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadSubmoduleBlock()

12