Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.cpp624 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
768 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
770 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
786 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
952 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
961 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
967 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
972 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile()
975 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
979 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
[all …]
H A DCompilerInstance.cpp233 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in collectIncludePCH()
455 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
622 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
1160 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1187 = ImportingInstance.getInvocation().getPreprocessorOpts();
1671 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createASTReader()
1934 if (getPreprocessorOpts().FailedModules && in findOrCompileModuleAndReadAST()
1935 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in findOrCompileModuleAndReadAST()
1946 if (getPreprocessorOpts().FailedModules) in findOrCompileModuleAndReadAST()
1947 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in findOrCompileModuleAndReadAST()
H A DASTUnit.cpp162 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1568 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1675 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1770 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1773 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1852 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1856 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1858 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
2168 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete()
H A DPrecompiledPreamble.cpp412 PreambleInvocation->getPreprocessorOpts(); in Build()
599 PreambleInvocation->getPreprocessorOpts(); in CanReuse()
755 auto &PreprocessorOpts = CI.getPreprocessorOpts(); in configurePreamble()
H A DFrontendActions.cpp143 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer()
176 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles()
305 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
H A DInitPreprocessor.cpp1333 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
1336 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
H A DCompilerInvocation.cpp142 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())), in CompilerInvocationRefBase()
4511 ParseLangArgs(LangOpts, Args, DashX, T, Res.getPreprocessorOpts().Includes, in CreateFromArgsImpl()
4546 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags, in CreateFromArgsImpl()
4629 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
4633 for (const auto &Macro : getPreprocessorOpts().Macros) { in getModuleHash()
4729 getPreprocessorOpts().resetNonModularOptions(); in resetNonModularOptions()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DCompilerInstance.h308 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
309 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
311 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
312 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
H A DCompilerInvocation.h126 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
128 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
H A DASTUnit.h470 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp188 ScanInstance.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = in runInvocation()
207 if (!ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation()
209 ScanInstance.getPreprocessorOpts().ImplicitPCHInclude, ScanInstance, in runInvocation()
217 ScanInstance.getPreprocessorOpts().DependencyDirectivesForFile = in runInvocation()
H A DModuleDepCollector.cpp160 CI.getPreprocessorOpts().Macros, in makeInvocationForModuleBuildWithoutOutputs()
387 if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile()
388 MDC.addFileDep(MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
/openbsd-src/gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/
H A Dhandle_cxx.cpp43 Invocation->getPreprocessorOpts().addRemappedFile(FileName, in HandleCXX()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPragma.cpp1053 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1058 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1061 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) { in HandlePragma()
1099 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1102 if (!PP.getPreprocessorOpts().DisablePragmaDebugCrash) in HandlePragma()
1130 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()
1617 if (getPreprocessorOpts().SourceDateEpoch) { in ExpandBuiltinMacro()
1618 time_t TT = *getPreprocessorOpts().SourceDateEpoch; in ExpandBuiltinMacro()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DIndexing.cpp350 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in CreateASTConsumer()
540 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB.get()); in clang_indexSourceFile_Impl()
593 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in clang_indexSourceFile_Impl()
/openbsd-src/gnu/llvm/clang/lib/Interpreter/
H A DInterpreter.cpp103 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp150 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
H A DCodeGenAction.cpp1083 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in CreateASTConsumer()
1218 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), in ExecuteAction()
/openbsd-src/gnu/llvm/clang/tools/clang-import-test/
H A Dclang-import-test.cpp234 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in BuildCodeGen()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp743 invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, in Create()

12