/openbsd-src/gnu/llvm/clang/lib/Frontend/ |
H A D | ChainedIncludesSource.cpp | 93 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 D | FrontendAction.cpp | 624 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 D | CompilerInstance.cpp | 233 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 D | ASTUnit.cpp | 162 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 D | PrecompiledPreamble.cpp | 412 PreambleInvocation->getPreprocessorOpts(); in Build() 599 PreambleInvocation->getPreprocessorOpts(); in CanReuse() 755 auto &PreprocessorOpts = CI.getPreprocessorOpts(); in configurePreamble()
|
H A D | FrontendActions.cpp | 143 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer() 176 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles() 305 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
|
H A D | InitPreprocessor.cpp | 1333 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor() 1336 PP.getPreprocessorOpts(), Builder); in InitializePreprocessor()
|
H A D | CompilerInvocation.cpp | 142 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 D | CompilerInstance.h | 308 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 D | CompilerInvocation.h | 126 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function 128 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
|
H A D | ASTUnit.h | 470 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
|
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningWorker.cpp | 188 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 D | ModuleDepCollector.cpp | 160 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 D | handle_cxx.cpp | 43 Invocation->getPreprocessorOpts().addRemappedFile(FileName, in HandleCXX()
|
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 176 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 D | Pragma.cpp | 1053 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 D | PPLexerChange.cpp | 96 if (getPreprocessorOpts().DependencyDirectivesForFile && in EnterSourceFile() 101 getPreprocessorOpts().DependencyDirectivesForFile(*File)) { in EnterSourceFile()
|
H A D | PPMacroExpansion.cpp | 1092 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 D | Indexing.cpp | 350 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 D | Interpreter.cpp | 103 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI()
|
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
H A D | FrontendActions.cpp | 153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
|
/openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
H A D | ObjectFilePCHContainerOperations.cpp | 150 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
|
H A D | CodeGenAction.cpp | 1083 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 D | clang-import-test.cpp | 234 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in BuildCodeGen()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangModulesDeclVendor.cpp | 743 invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, in Create()
|