Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp93 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in createChainedIncludesSource()
107 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
108 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
109 CInvok->getPreprocessorOpts().DisablePCHOrModuleValidation = in createChainedIncludesSource()
111 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
112 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
113 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
H A DFrontendAction.cpp631 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
775 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
777 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
793 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
957 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
972 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
980 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
984 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
986 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile()
987 CI.getPreprocessorOpts().DisablePCHOrModuleValidation, in BeginSourceFile()
[all …]
H A DCompilerInstance.cpp231 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in collectIncludePCH()
447 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
615 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
1174 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1201 = ImportingInstance.getInvocation().getPreprocessorOpts();
1690 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createASTReader()
1955 if (getPreprocessorOpts().FailedModules && in findOrCompileModuleAndReadAST()
1956 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in findOrCompileModuleAndReadAST()
1967 if (getPreprocessorOpts().FailedModules) in findOrCompileModuleAndReadAST()
1968 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in findOrCompileModuleAndReadAST()
H A DASTUnit.cpp160 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
262 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1577 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1684 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1786 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1789 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1868 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1872 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1874 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
2187 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete()
H A DPrecompiledPreamble.cpp424 PreambleInvocation->getPreprocessorOpts(); in Build()
612 PreambleInvocation->getPreprocessorOpts(); in CanReuse()
768 auto &PreprocessorOpts = CI.getPreprocessorOpts(); in configurePreamble()
H A DFrontendActions.cpp143 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer()
177 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles()
313 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
H A DInitPreprocessor.cpp1403 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
1406 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
H A DCompilerInvocation.cpp161 PPOpts = make_shared_copy(X.getPreprocessorOpts()); in deep_copy_assign()
4609 ParseLangArgs(LangOpts, Args, DashX, T, Res.getPreprocessorOpts().Includes, in CreateFromArgsImpl()
4644 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags, in CreateFromArgsImpl()
4738 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
4742 for (const auto &Macro : getPreprocessorOpts().Macros) { in getModuleHash()
4841 GeneratePreprocessorArgs(getPreprocessorOpts(), Consumer, getLangOpts(), in generateCC1CommandLine()
4857 getPreprocessorOpts().resetNonModularOptions(); in resetNonModularOptions()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp179 ScanInstance.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = in runInvocation()
198 if (!ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation()
200 ScanInstance.getPreprocessorOpts().ImplicitPCHInclude, ScanInstance, in runInvocation()
207 ScanInstance.getPreprocessorOpts().DependencyDirectivesForFile = in runInvocation()
262 ScanInstance.getPreprocessorOpts().ModulesCheckRelocated = false; in runInvocation()
H A DModuleDepCollector.cpp152 CI.getPreprocessorOpts().Macros, in makeCommonInvocationForModuleBuild()
457 if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile()
458 MDC.addFileDep(MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h135 const PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
231 using CompilerInvocationBase::getPreprocessorOpts;
248 PreprocessorOptions &getPreprocessorOpts() { return *PPOpts; } in getPreprocessorOpts() function
H A DCompilerInstance.h315 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
316 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
318 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
319 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
H A DASTUnit.h474 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp176 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
193 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
529 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp1064 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1069 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1072 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) { in HandlePragma()
1101 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1104 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1132 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
H A DPPLexerChange.cpp96 if (getPreprocessorOpts().DependencyDirectivesForFile && in EnterSourceFile()
101 getPreprocessorOpts().DependencyDirectivesForFile(*File)) { in EnterSourceFile()
H A DPPMacroExpansion.cpp1092 if (PP.getPreprocessorOpts().SourceDateEpoch) { in ComputeDATE_TIME()
1093 TT = *PP.getPreprocessorOpts().SourceDateEpoch; in ComputeDATE_TIME()
1616 if (getPreprocessorOpts().SourceDateEpoch) { in ExpandBuiltinMacro()
1617 time_t TT = *getPreprocessorOpts().SourceDateEpoch; in ExpandBuiltinMacro()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp150 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
H A DCodeGenAction.cpp1039 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in CreateASTConsumer()
1200 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), in ExecuteAction()
H A DCodeGenModule.h746 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFeatures.def93 PP.getPreprocessorOpts().DefineTargetOSMacros)
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp743 invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, in Create()
H A DClangExpressionParser.cpp697 m_compiler->getPreprocessorOpts(), m_compiler->getCodeGenOpts(), in ClangExpressionParser()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp112 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI()

12