Home
last modified time | relevance | path

Searched refs:getPreprocessorOpts (Results 1 – 25 of 29) 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.cpp785 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
932 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
934 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
950 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
1114 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
1123 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
1129 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
1134 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile()
1137 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
1141 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
[all …]
H A DASTUnit.cpp157 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
259 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1598 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1705 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1812 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1815 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1895 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1899 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1901 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
2215 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete()
H A DPrecompiledPreamble.cpp424 PreambleInvocation->getPreprocessorOpts(); in Build()
611 PreambleInvocation->getPreprocessorOpts(); in CanReuse()
767 auto &PreprocessorOpts = CI.getPreprocessorOpts(); in configurePreamble()
H A DCompilerInstance.cpp230 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in collectIncludePCH()
443 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
452 PP = std::make_shared<Preprocessor>(Invocation->getPreprocessorOpts(), in createPreprocessor()
613 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
1160 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in cloneForModuleCompileImpl()
1740 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createASTReader()
H A DFrontendActions.cpp143 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer()
177 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles()
357 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
H A DInitPreprocessor.cpp1578 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
1581 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
H A DCompilerInvocation.cpp147 PPOpts = make_shared_copy(X.getPreprocessorOpts()); in deep_copy_assign()
5158 ParseLangArgs(LangOpts, Args, DashX, T, Res.getPreprocessorOpts().Includes, in CreateFromArgsImpl()
5197 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags, in CreateFromArgsImpl()
5294 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
5298 for (const auto &Macro : getPreprocessorOpts().Macros) { in getModuleHash()
5403 GeneratePreprocessorArgs(getPreprocessorOpts(), Consumer, getLangOpts(), in generateCC1CommandLine()
5419 getPreprocessorOpts().resetNonModularOptions(); in resetNonModularOptions()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h135 const PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
236 using CompilerInvocationBase::getPreprocessorOpts;
253 PreprocessorOptions &getPreprocessorOpts() { return *PPOpts; } in getPreprocessorOpts() function
H A DCompilerInstance.h325 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
326 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
328 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
329 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
H A DASTUnit.h486 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp399 canonicalizeDefines(OriginalInvocation.getPreprocessorOpts()); in runInvocation()
427 ScanInstance.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = in runInvocation()
481 if (!ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation()
483 ScanInstance.getPreprocessorOpts().ImplicitPCHInclude, in runInvocation()
535 ScanInstance.getPreprocessorOpts().ModulesCheckRelocated = false; in runInvocation()
H A DModuleDepCollector.cpp308 CI.getPreprocessorOpts().Macros, in makeCommonInvocationForModuleBuild()
525 const auto &PPOpts = CI.getPreprocessorOpts(); in isSafeToIgnoreCWD()
703 if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile()
704 MDC.addFileDep(MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp126 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI()
395 if (!CI->getPreprocessorOpts().Includes.empty()) { in Interpreter()
810 !getCompilerInstance()->getPreprocessorOpts().Includes.empty()) || in GenModule()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp1057 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1062 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1065 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) { in HandlePragma()
1094 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1097 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1141 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
H A DPPMacroExpansion.cpp1047 if (PP.getPreprocessorOpts().SourceDateEpoch) { in ComputeDATE_TIME()
1048 TT = *PP.getPreprocessorOpts().SourceDateEpoch; in ComputeDATE_TIME()
1705 if (getPreprocessorOpts().SourceDateEpoch) { in ExpandBuiltinMacro()
1706 time_t TT = *getPreprocessorOpts().SourceDateEpoch; in ExpandBuiltinMacro()
H A DPPExpressions.cpp596 if (PP.getPreprocessorOpts().SingleFileParseMode && IncludedUndefinedIds) { in EvaluateDirectiveSubExpr()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp152 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp151 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
H A DCodeGenAction.cpp121 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), in BackendConsumer()
H A DCodeGenModule.h827 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp743 invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, in Create()
H A DClangExpressionParser.cpp900 m_compiler->getPreprocessorOpts(), m_compiler->getCodeGenOpts(), in ClangExpressionParser()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFeatures.def136 PP.getPreprocessorOpts().DefineTargetOSMacros)
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp845 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()
856 return checkPreprocessorOptions(PPOpts, PP.getPreprocessorOpts(), in ReadPreprocessorOptions()
894 PP.getPreprocessorOpts()); in ReadHeaderSearchOptions()
3420 if (!PP.getPreprocessorOpts().ModulesCheckRelocated) in ReadControlBlock()
3431 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadControlBlock()
4444 if (PP.getPreprocessorOpts().ModulesCheckRelocated && in ReadModuleMapFileBlock()
4454 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadModuleMapFileBlock()
6129 if (!bool(PP.getPreprocessorOpts().DisablePCHOrModuleValidation & in ReadSubmoduleBlock()

12