/llvm-project/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() 135 assert(!CI->getPreprocessorOpts().RetainRemappedFileBuffers && in prepareCompilerInstance() 144 CI->getPreprocessorOpts().addRemappedFile( in prepareCompilerInstance()
|
H A D | Preamble.cpp | 379 Clang->getPreprocessorOpts().SingleFileParseMode = true; in scanPreamble() 380 Clang->getPreprocessorOpts().UsePredefines = false; in scanPreamble() 647 CI.getPreprocessorOpts().WriteCommentListToPCH = false; in buildPreamble() 943 auto &PPOpts = CI.getPreprocessorOpts();
|
/llvm-project/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 | 85 invocation->getPreprocessorOpts().addRemappedFile( in TEST() 105 invocation->getPreprocessorOpts().addRemappedFile( in TEST() 127 invocation->getPreprocessorOpts().addRemappedFile( in TEST() 178 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 238 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 272 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
|
H A D | OutputStreamTest.cpp | 27 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 51 Invocation->getPreprocessorOpts().addRemappedFile( in TEST() 81 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 | 47 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
|
/llvm-project/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 | 636 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile() 783 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile() 785 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile() 801 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile() 965 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile() 974 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile() 980 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile() 985 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile() 988 CI.getPreprocessorOpts() in BeginSourceFile() [all...] |
H A D | ASTUnit.cpp | 161 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping() 263 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit() 1594 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction() 1702 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation() 1806 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine() 1809 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine() 1888 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse() 1892 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse() 1894 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse() 2208 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete() [all...] |
/llvm-project/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/clang/unittests/Interpreter/ |
H A D | IncrementalCompilerBuilderTest.cpp | 24 for (const auto &RB : CI.getPreprocessorOpts().RemappedFileBuffers) { in cleanupRemappedFileBuffers() 27 CI.getPreprocessorOpts().clearRemappedFiles(); in cleanupRemappedFileBuffers()
|
/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningWorker.cpp | 305 canonicalizeDefines(OriginalInvocation.getPreprocessorOpts()); in runInvocation() 334 ScanInstance.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = in runInvocation() 360 ScanInstance.getPreprocessorOpts().DependencyDirectivesForFile = in runInvocation() 379 if (!ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation() 381 ScanInstance.getPreprocessorOpts().ImplicitPCHInclude, in runInvocation() 433 ScanInstance.getPreprocessorOpts().ModulesCheckRelocated = false; in runInvocation()
|
/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 135 const PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function 236 using CompilerInvocationBase::getPreprocessorOpts; 253 PreprocessorOptions &getPreprocessorOpts() { return *PPOpts; } in getPreprocessorOpts() function
|
H A D | CompilerInstance.h | 340 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() 341 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts() 343 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() 344 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts() 339 PreprocessorOptions &getPreprocessorOpts() { getPreprocessorOpts() function 342 const PreprocessorOptions &getPreprocessorOpts() const { getPreprocessorOpts() function
|
/llvm-project/flang/include/flang/Frontend/ |
H A D | CompilerInvocation.h | 61 PreprocessorOptions &getPreprocessorOpts() { return *preprocessorOpts; } in getPreprocessorOpts() function 62 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() 60 PreprocessorOptions &getPreprocessorOpts() { return *preprocessorOpts; } getPreprocessorOpts() function
|
H A D | CompilerInstance.h | 213 return invocation->getPreprocessorOpts(); in getDiagnosticClient() 216 return invocation->getPreprocessorOpts();
|
/llvm-project/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() 100 invoc.getPreprocessorOpts().preprocessIncludeLines; in beginSourceFile()
|
/llvm-project/clang/tools/clang-fuzzer/handle-cxx/ |
H A D | handle_cxx.cpp | 43 Invocation->getPreprocessorOpts().addRemappedFile(FileName, in HandleCXX()
|
/llvm-project/clang/unittests/AST/ |
H A D | ExternalASTSourceTest.cpp | 53 Invocation->getPreprocessorOpts().addRemappedFile( in testExternalASTSource()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | StdLib.cpp | 202 !CI->getPreprocessorOpts().ImplicitPCHInclude.empty()) { in indexStandardLibrary() 216 CI->getPreprocessorOpts().clearRemappedFiles(); in indexStandardLibrary()
|
/llvm-project/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/clang/unittests/CodeGen/ |
H A D | TestCompiler.h | 63 compiler.getPreprocessorOpts(), compiler.getCodeGenOpts(), Context));
|
/llvm-project/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()
|
/llvm-project/clang/unittests/Serialization/ |
H A D | ForceCheckFileInputTest.cpp | 85 Invocation->getPreprocessorOpts().addRemappedFile("a.cppm", Buf->get()); in TEST_F()
|