| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Compiler.cpp | 64 CI.getPreprocessorOpts().ImplicitPCHInclude.clear(); in disableUnsupportedOptions() 65 CI.getPreprocessorOpts().PrecompiledPreambleBytes = {0, false}; in disableUnsupportedOptions() 66 CI.getPreprocessorOpts().PCHThroughHeader.clear(); in disableUnsupportedOptions() 67 CI.getPreprocessorOpts().PCHWithHdrStop = false; in disableUnsupportedOptions() 68 CI.getPreprocessorOpts().PCHWithHdrStopCreate = false; in disableUnsupportedOptions() 71 CI.getPreprocessorOpts().DisablePragmaDebugCrash = true; in disableUnsupportedOptions() 126 assert(!CI->getPreprocessorOpts().RetainRemappedFileBuffers && in prepareCompilerInstance() 135 CI->getPreprocessorOpts().addRemappedFile( in prepareCompilerInstance()
|
| H A D | Preamble.cpp | 339 Clang->getPreprocessorOpts().SingleFileParseMode = true; in scanPreamble() 340 Clang->getPreprocessorOpts().UsePredefines = false; in scanPreamble() 520 CI.getPreprocessorOpts().WriteCommentListToPCH = false; in buildPreamble() 725 auto &PPOpts = CI.getPreprocessorOpts(); in apply()
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | UtilsTest.cpp | 57 EXPECT_THAT(CI->getPreprocessorOpts().Includes, ElementsAre("foo.h")); in TEST() 58 EXPECT_EQ(CI->getPreprocessorOpts().ImplicitPCHInclude, ""); in TEST() 63 EXPECT_THAT(CI->getPreprocessorOpts().Includes, ElementsAre()); in TEST() 64 EXPECT_EQ(CI->getPreprocessorOpts().ImplicitPCHInclude, "foo.h.pch"); in TEST()
|
| H A D | FrontendActionTest.cpp | 84 invocation->getPreprocessorOpts().addRemappedFile( in TEST() 104 invocation->getPreprocessorOpts().addRemappedFile( in TEST() 126 invocation->getPreprocessorOpts().addRemappedFile( in TEST() 177 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 237 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 270 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
|
| H A D | OutputStreamTest.cpp | 26 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 50 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 79 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
|
| H A D | PCHPreambleTest.cpp | 92 CI->getPreprocessorOpts().RemappedFileBuffers = GetRemappedFiles(); in ParseAST() 94 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in ParseAST()
|
| H A D | CodeGenActionTest.cpp | 46 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ChainedIncludesSource.cpp | 116 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 D | FrontendAction.cpp | 618 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile() 757 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile() 759 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile() 937 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile() 946 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile() 952 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile() 960 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile() 964 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile() 966 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile() 967 CI.getPreprocessorOpts().DisablePCHOrModuleValidation, in BeginSourceFile() [all …]
|
| H A D | CompilerInstance.cpp | 229 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in collectIncludePCH() 448 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor() 615 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource() 1149 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); 1177 = ImportingInstance.getInvocation().getPreprocessorOpts(); 1657 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createASTReader() 1920 if (getPreprocessorOpts().FailedModules && in findOrCompileModuleAndReadAST() 1921 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in findOrCompileModuleAndReadAST() 1932 if (getPreprocessorOpts().FailedModules) in findOrCompileModuleAndReadAST() 1933 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in findOrCompileModuleAndReadAST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | CompilerTests.cpp | 31 ->getPreprocessorOpts() in TEST() 38 ->getPreprocessorOpts() in TEST() 47 ->getPreprocessorOpts() in TEST() 51 ->getPreprocessorOpts() in TEST()
|
| /llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningWorker.cpp | 165 ScanInstance.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = in runInvocation() 179 if (!ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation() 181 ScanInstance.getPreprocessorOpts().ImplicitPCHInclude, ScanInstance, in runInvocation() 194 ScanInstance.getPreprocessorOpts().DependencyDirectivesForFile = in runInvocation()
|
| H A D | ModuleDepCollector.cpp | 51 CI.getPreprocessorOpts().resetNonModularOptions(); in makeInvocationForModuleBuildWithoutPaths() 226 if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in EndOfMainFile() 228 MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude); in EndOfMainFile()
|
| /llvm-project-15.0.7/flang/include/flang/Frontend/ |
| H A D | CompilerInvocation.h | 54 PreprocessorOptions &getPreprocessorOpts() { return *preprocessorOpts; } in getPreprocessorOpts() function 55 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
|
| H A D | CompilerInstance.h | 179 return invocation->getPreprocessorOpts(); in preprocessorOpts() 182 return invocation->getPreprocessorOpts(); in preprocessorOpts()
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 306 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function 307 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts() 309 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function 310 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
|
| /llvm-project-15.0.7/flang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 82 if ((invoc.getPreprocessorOpts().macrosFlag == PPMacrosFlag::Include) || in beginSourceFile() 83 (invoc.getPreprocessorOpts().macrosFlag == PPMacrosFlag::Unknown && in beginSourceFile()
|
| H A D | CompilerInvocation.cpp | 51 preprocessorOpts(new PreprocessorOptions(x.getPreprocessorOpts())) {} in CompilerInvocationBase() 649 parsePreprocessorArgs(res.getPreprocessorOpts(), args); in createFromArgs() 664 auto &ppOpts = this->getPreprocessorOpts(); in collectMacroDefinitions() 737 const auto &preprocessorOptions = getPreprocessorOpts(); in setFortranOpts()
|
| /llvm-project-15.0.7/clang/tools/clang-fuzzer/handle-cxx/ |
| H A D | handle_cxx.cpp | 43 Invocation->getPreprocessorOpts().addRemappedFile(FileName, in HandleCXX()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ExternalASTSourceTest.cpp | 52 Invocation->getPreprocessorOpts().addRemappedFile( in testExternalASTSource()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | StdLib.cpp | 213 !CI->getPreprocessorOpts().ImplicitPCHInclude.empty()) { in indexStandardLibrary() 227 CI->getPreprocessorOpts().clearRemappedFiles(); in indexStandardLibrary()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | TestCompiler.h | 62 compiler.getPreprocessorOpts(), compiler.getCodeGenOpts(), Context));
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/polly/lib/External/isl/interface/ |
| H A D | extract_interface.cc | 428 PreprocessorOptions &PO = Clang->getPreprocessorOpts(); in set_lang_defaults() 553 PreprocessorOptions &PO = Clang->getPreprocessorOpts(); in main()
|