| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseAST.cpp | 70 const Preprocessor &PP = P.getPreprocessor(); in print() 78 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print() 132 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST() 143 S.getPreprocessor().EnterMainSourceFile(); in ParseAST() 151 bool HaveLexer = S.getPreprocessor().getCurrentLexer(); in ParseAST() 192 CodegenModule = S.getPreprocessor().getCurrentModule(); in ParseAST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ParsedAST.cpp | 124 auto &PP = Clang.getPreprocessor(); in attach() 484 Preprocessor *PP = &Clang->getPreprocessor(); in build() 559 &Clang->getPreprocessor().getHeaderSearchInfo()); in build() 592 Clang->getPreprocessor().addPPCallbacks( in build() 600 Clang->getPreprocessor().addPPCallbacks( in build() 612 Clang->getPreprocessor().addCommentHandler(IWYUHandler.get()); in build() 646 Clang->getPreprocessor().EndSourceFile(); in build() 705 Preprocessor &ParsedAST::getPreprocessor() { return Clang->getPreprocessor(); } in getPreprocessor() function in clang::clangd::ParsedAST 711 const Preprocessor &ParsedAST::getPreprocessor() const { in getPreprocessor() function in clang::clangd::ParsedAST 712 return Clang->getPreprocessor(); in getPreprocessor() [all …]
|
| H A D | ParsedAST.h | 69 Preprocessor &getPreprocessor(); 71 const Preprocessor &getPreprocessor() const;
|
| H A D | Headers.cpp | 42 HeaderInfo(CI.getPreprocessor().getHeaderSearchInfo()), Out(Out) {} in RecordHeaders() 245 CI.getPreprocessor().addCommentHandler(Collector.get()); in collect() 246 CI.getPreprocessor().addPPCallbacks(std::move(Collector)); in collect()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 147 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 280 StringLiteralParser Literal(T, CI.getPreprocessor()); in ReadOriginalFileName() 507 CI.getPreprocessor().setMainFileDir(M->Directory); in prepareToBuildModule() 526 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap() in prepareToBuildModule() 694 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 910 CI.getPreprocessor() in BeginSourceFile() 993 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 1067 CI.getPreprocessor().EndSourceFile(); in EndSourceFile() 1088 CI.getPreprocessor().PrintStats(); in EndSourceFile() 1089 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 71 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 237 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in CreateOutputFile() 314 auto &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction() 869 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 963 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 981 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 993 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 1070 DoPrintPreprocessedInput(CI.getPreprocessor(), OS.get(), in ExecuteAction() 1116 const Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 1158 SourceManager &SM = CI.getPreprocessor().getSourceManager(); in ExecuteAction() [all …]
|
| H A D | ChainedIncludesSource.cpp | 84 Preprocessor &PP = CI.getPreprocessor(); in createASTReader() 158 &Clang->getPreprocessor()); in createChainedIncludesSource() 164 Clang->getPreprocessor(), Clang->getModuleCache(), "-", /*isysroot=*/"", in createChainedIncludesSource() 172 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
|
| H A D | CompilerInstance.cpp | 245 SimpleASTReaderListener Validator(CI.getPreprocessor()); in collectIncludePCH() 553 Preprocessor &PP = getPreprocessor(); in createASTContext() 618 AllowPCHWithCompilerErrors, getPreprocessor(), getModuleCache(), in createPCHExternalASTSource() 714 getPreprocessor(), Loc.FileName, Loc.Line, Loc.Column, in createCodeCompletionConsumer() 717 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer() 1666 getPreprocessor(), getModuleCache(), &getASTContext(), in createASTReader() 1963 ModuleMap &MM = getPreprocessor().getHeaderSearchInfo().getModuleMap(); in loadModule() 2113 checkConfigMacro(getPreprocessor(), TopModule->ConfigMacros[I], in loadModule() 2118 getPreprocessor() in loadModule() 2193 if (getPreprocessor().getHeaderSearchInfo().getModuleCachePath().empty()) in loadGlobalModuleIndex() [all …]
|
| H A D | PrecompiledPreamble.cpp | 328 *this, CI.getPreprocessor(), CI.getModuleCache(), Sysroot, Buffer); in CreateASTConsumer() 513 Clang->getPreprocessor().addPPCallbacks(std::move(DelegatedPPCallbacks)); in Build() 515 Clang->getPreprocessor().addCommentHandler(CommentHandler); in Build() 517 Clang->getPreprocessor().addPPCallbacks( in Build() 519 MissingFiles, Clang->getPreprocessor().getHeaderSearchInfo(), in Build()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | FindAllSymbolsAction.cpp | 29 Compiler.getPreprocessor().addCommentHandler(&Handler); in CreateASTConsumer() 30 Compiler.getPreprocessor().addPPCallbacks(std::make_unique<FindAllMacros>( in CreateASTConsumer()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 252 m_compiler_instance->getPreprocessor().getHeaderSearchInfo(); in AddModule() 431 if (m_compiler_instance->getPreprocessor().getExternalSource()) { in ForEachMacro() 432 m_compiler_instance->getPreprocessor() in ForEachMacro() 438 mi = m_compiler_instance->getPreprocessor().macro_begin(), in ForEachMacro() 439 me = m_compiler_instance->getPreprocessor().macro_end(); in ForEachMacro() 445 m_compiler_instance->getPreprocessor() in ForEachMacro() 458 m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii)) { in ForEachMacro() 717 instance->getPreprocessor().enableIncrementalProcessing(); in Create() 725 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create() 727 instance->getPreprocessor().EnterMainSourceFile(); in Create()
|
| H A D | ClangExpressionParser.cpp | 686 RemoveAllCppKeywords(m_compiler->getPreprocessor().getIdentifierTable()); in ClangExpressionParser() 702 m_compiler->getPreprocessor().addPPCallbacks(std::move(pp_callbacks)); in ClangExpressionParser() 709 auto &PP = m_compiler->getPreprocessor(); in ClangExpressionParser() 971 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults() 1100 &m_compiler->getPreprocessor()); in ParseInternal() 1111 auto &PP = m_compiler->getPreprocessor(); in ParseInternal() 1133 m_compiler->setSema(new Sema(m_compiler->getPreprocessor(), ast_context, in ParseInternal()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 44 return CreateHTMLPrinter(std::move(OS), CI.getPreprocessor()); in CreateASTConsumer() 191 RewriteMacrosInInput(CI.getPreprocessor(), OS.get()); in ExecuteAction() 200 DoRewriteTest(CI.getPreprocessor(), OS.get()); in ExecuteAction() 313 RewriteIncludesInInput(CI.getPreprocessor(), &OS, in ExecuteAction() 318 RewriteIncludesInInput(CI.getPreprocessor(), OutputStream.get(), in ExecuteAction()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 283 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 292 Unit->getPreprocessor()); in checkForManualIssues() 307 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 313 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in checkForManualIssues() 456 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 564 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 576 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 579 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 94 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis() 103 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
|
| /llvm-project-15.0.7/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 99 Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 133 new Parser(CI->getPreprocessor(), CI->getSema(), /*SkipBodies=*/false)); in IncrementalParser() 218 Preprocessor &PP = CI->getPreprocessor(); in Parse()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | Reusables.h | 61 ChkMgr(C.getASTContext(), *C.getAnalyzerOpts(), C.getPreprocessor()), in ExprEngineConsumer() 63 AMgr(C.getASTContext(), C.getPreprocessor(), Consumers, in ExprEngineConsumer()
|
| /llvm-project-15.0.7/clang/include/clang/Testing/ |
| H A D | TestAST.h | 80 Preprocessor &preprocessor() { return Clang->getPreprocessor(); } in preprocessor()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | IndexAction.cpp | 157 CI.getPreprocessor().addCommentHandler(PragmaHandler.get()); in CreateASTConsumer() 160 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 112 Preprocessor &getPreprocessor() { return getBugReporter().getPreprocessor(); } in getPreprocessor() function
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | CollectMacrosTests.cpp | 81 auto &PP = AST.getPreprocessor(); in TEST()
|
| H A D | TestTU.cpp | 163 AST.getPreprocessor(), in headerSymbols() 176 AST.getASTContext(), AST.getPreprocessor(), in index()
|
| H A D | FileIndexTests.cpp | 173 AST.getASTContext(), AST.getPreprocessor(), in update() 416 AST.getASTContext(), AST.getPreprocessor(), in TEST() 537 AST.getASTContext(), AST.getPreprocessor(), in TEST() 545 AST.getASTContext(), AST.getPreprocessor(), in TEST() 690 FI.updatePreamble(FileName, "v1", AST.getASTContext(), AST.getPreprocessor(), in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | IncludeFixer.cpp | 112 Compiler.getPreprocessor().getHeaderSearchInfo())); in runInvocation() 173 CI->getPreprocessor().getHeaderSearchInfo(), in MaybeDiagnoseMissingCompleteType() 292 SM, CI->getPreprocessor().getHeaderSearchInfo(), in CorrectTypo()
|
| /llvm-project-15.0.7/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 221 auto &PP = CI.getPreprocessor(); in BuildASTContext() 301 ParseAST(CI.getPreprocessor(), &Consumer, CI.getASTContext()); in ParseSource() 331 &CI.getCompilerInstance().getPreprocessor()); in Parse()
|