| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseAST.cpp | 71 const Preprocessor &PP = P.getPreprocessor(); in print() 79 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print() 133 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST() 144 S.getPreprocessor().EnterMainSourceFile(); in ParseAST() 152 bool HaveLexer = S.getPreprocessor().getCurrentLexer(); in ParseAST()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 159 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 290 StringLiteralParser Literal(T, CI.getPreprocessor()); in ReadOriginalFileName() 519 CI.getPreprocessor().setMainFileDir(*M->Directory); in prepareToBuildModule() 706 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 926 (void)CI.getPreprocessor().getCurrentModuleImplementation(); in BeginSourceFile() 930 CI.getPreprocessor() in BeginSourceFile() 1013 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 1099 CI.getPreprocessor().EndSourceFile(); in EndSourceFile() 1120 CI.getPreprocessor().PrintStats(); in EndSourceFile() 1121 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 72 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 241 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in CreateOutputFile() 833 Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 908 R->getPreprocessor().macros(), in ExecuteAction() 942 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 960 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 972 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 1049 DoPrintPreprocessedInput(CI.getPreprocessor(), OS.get(), in ExecuteAction() 1095 const Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 1137 SourceManager &SM = CI.getPreprocessor().getSourceManager(); in ExecuteAction() [all …]
|
| H A D | ChainedIncludesSource.cpp | 61 Preprocessor &PP = CI.getPreprocessor(); in createASTReader() 135 &Clang->getPreprocessor()); in createChainedIncludesSource() 141 Clang->getPreprocessor(), Clang->getModuleCache(), "-", /*isysroot=*/"", in createChainedIncludesSource() 149 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
|
| H A D | CompilerInstance.cpp | 247 SimpleASTReaderListener Validator(CI.getPreprocessor()); in collectIncludePCH() 552 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() 762 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema() 1699 getPreprocessor(), getModuleCache(), &getASTContext(), in createASTReader() 1998 ModuleMap &MM = getPreprocessor().getHeaderSearchInfo().getModuleMap(); in loadModule() 2145 checkConfigMacro(getPreprocessor(), TopModule->ConfigMacros[I], in loadModule() 2150 getPreprocessor() in loadModule() [all …]
|
| H A D | PrecompiledPreamble.cpp | 340 *this, CI.getPreprocessor(), CI.getModuleCache(), Sysroot, Buffer); in CreateASTConsumer() 526 Clang->getPreprocessor().addPPCallbacks(std::move(DelegatedPPCallbacks)); in Build() 528 Clang->getPreprocessor().addCommentHandler(CommentHandler); in Build() 530 Clang->getPreprocessor().addPPCallbacks( in Build() 532 MissingFiles, Clang->getPreprocessor().getHeaderSearchInfo(), in Build()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 44 return CreateHTMLPrinter(std::move(OS), CI.getPreprocessor()); in CreateASTConsumer() 192 RewriteMacrosInInput(CI.getPreprocessor(), OS.get()); in ExecuteAction() 201 DoRewriteTest(CI.getPreprocessor(), OS.get()); in ExecuteAction() 314 RewriteIncludesInInput(CI.getPreprocessor(), &OS, in ExecuteAction() 319 RewriteIncludesInInput(CI.getPreprocessor(), OutputStream.get(), in ExecuteAction()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 311 m_compiler_instance->getPreprocessor().getHeaderSearchInfo(); in AddModule() 490 if (m_compiler_instance->getPreprocessor().getExternalSource()) { in ForEachMacro() 491 m_compiler_instance->getPreprocessor() in ForEachMacro() 497 mi = m_compiler_instance->getPreprocessor().macro_begin(), in ForEachMacro() 498 me = m_compiler_instance->getPreprocessor().macro_end(); in ForEachMacro() 504 m_compiler_instance->getPreprocessor() in ForEachMacro() 517 m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii)) { in ForEachMacro() 774 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create() 776 instance->getPreprocessor().EnterMainSourceFile(); in Create()
|
| H A D | ClangExpressionParser.cpp | 657 RemoveAllCppKeywords(m_compiler->getPreprocessor().getIdentifierTable()); in ClangExpressionParser() 673 m_compiler->getPreprocessor().addPPCallbacks(std::move(pp_callbacks)); in ClangExpressionParser() 680 auto &PP = m_compiler->getPreprocessor(); in ClangExpressionParser() 942 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults() 1071 &m_compiler->getPreprocessor()); in ParseInternal() 1083 auto &PP = m_compiler->getPreprocessor(); in ParseInternal() 1105 m_compiler->setSema(new Sema(m_compiler->getPreprocessor(), ast_context, in ParseInternal()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 93 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis() 102 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
|
| H A D | AnalysisConsumer.cpp | 127 PP(CI.getPreprocessor()), OutDir(outdir), Opts(opts), in AnalysisConsumer() 758 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 418 CI.getPreprocessor().addPPCallbacks(std::make_unique<APIMacroCallback>( in CreateASTConsumer() 419 CI.getSourceManager(), *API, CI.getPreprocessor(), *LCF)); in CreateASTConsumer() 522 CI.getPreprocessor().addPPCallbacks(std::make_unique<MacroCallback>( in CreateASTConsumer() 523 CI.getSourceManager(), *API, CI.getPreprocessor())); in CreateASTConsumer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 171 Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 221 new Parser(CI->getPreprocessor(), CI->getSema(), /*SkipBodies=*/false)); in IncrementalParser() 307 Preprocessor &PP = CI->getPreprocessor(); in Parse()
|
| H A D | CodeCompletion.cpp | 121 auto Prefix = S.getPreprocessor().getCodeCompletionFilter(); in handleKeyword() 166 auto Prefix = S.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Testing/ |
| H A D | TestAST.h | 87 Preprocessor &preprocessor() { return Clang->getPreprocessor(); } in preprocessor()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 113 Preprocessor &getPreprocessor() { return getBugReporter().getPreprocessor(); } in getPreprocessor() function
|
| H A D | AnalysisManager.h | 66 Preprocessor &getPreprocessor() override { return PP; } in getPreprocessor() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 295 Preprocessor &PP = ScanInstance.getPreprocessor(); in applyDiscoveredDependencies() 412 if (MDC.ScanInstance.getPreprocessor().isInImportingCXXNamedModules()) { in moduleImport() 442 auto &PP = MDC.ScanInstance.getPreprocessor(); in EndOfMainFile() 461 MDC.ScanInstance.getPreprocessor().getAffectingClangModules()) in EndOfMainFile() 514 MDC.ScanInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in handleTopLevelModule()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 268 indexPreprocessorMacros(Unit.getPreprocessor(), DataConsumer); in indexASTUnit() 305 indexPreprocessorModuleMacros(Reader.getPreprocessor(), Mod, DataConsumer); in indexModuleFile()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 577 virtual Preprocessor &getPreprocessor() = 0; 624 Preprocessor &getPreprocessor() { return D.getPreprocessor(); } in getPreprocessor() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Testing/ |
| H A D | TestAST.cpp | 133 Clang->getPreprocessor().EndSourceFile(); in TestAST()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 438 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function 439 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
|
| /freebsd-14.2/contrib/llvm-project/clang/tools/clang-repl/ |
| H A D | ClangRepl.cpp | 79 Client->BeginSourceFile(CI->getLangOpts(), &CI->getPreprocessor()); in checkDiagErrors()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 1035 CI.getPreprocessor()); in CreateASTConsumer() 1050 CI.getPreprocessor()); in CreateASTConsumer() 1051 CI.getPreprocessor().addPPCallbacks(std::move(Callbacks)); in CreateASTConsumer()
|