| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 293 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 441 StringLiteralParser Literal(T, CI.getPreprocessor()); in ReadOriginalFileName() 602 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in loadModuleMapForModuleBuild() 653 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in prepareToBuildModule() 670 CI.getPreprocessor().setMainFileDir(*M->Directory); in prepareToBuildModule() 692 CI.getPreprocessor() in prepareToBuildModule() 723 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap(), M, in getInputBufferForModule() 815 AST->getPreprocessor().getHeaderSearchInfo().lookupModule( in BeginSourceFile() 860 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 972 &CI.getPreprocessor()); in BeginSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 72 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 141 CI.getPreprocessor(), CI.getModuleCache(), OutputFile, Sysroot, Buffer, in CreateASTConsumer() 201 CI.getPreprocessor(), CI.getModuleCache(), OutputFile, Sysroot, Buffer, in CreateMultiplexConsumer() 252 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in CreateOutputFile() 294 CI.getPreprocessor(), CI.getModuleCache(), in CreateASTConsumer() 300 CI.getPreprocessor(), CI.getModuleCache(), in CreateASTConsumer() 316 return std::make_unique<ReducedBMIGenerator>(CI.getPreprocessor(), in CreateASTConsumer() 360 CI.getPreprocessor(), CI.getModuleCache(), &CI.getASTContext(), in ExecuteAction() 897 Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 972 R->getPreprocessor().macros(), in ExecuteAction() [all …]
|
| H A D | ChainedIncludesSource.cpp | 61 Preprocessor &PP = CI.getPreprocessor(); in createASTReader() 134 &Clang->getPreprocessor()); in createChainedIncludesSource() 140 Clang->getPreprocessor(), Clang->getModuleCache(), "-", /*isysroot=*/"", in createChainedIncludesSource() 148 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
|
| H A D | CompilerInstance.cpp | 246 SimpleASTReaderListener Validator(CI.getPreprocessor()); in collectIncludePCH() 551 Preprocessor &PP = getPreprocessor(); in createASTContext() 616 AllowPCHWithCompilerErrors, getPreprocessor(), getModuleCache(), in createPCHExternalASTSource() 713 getPreprocessor(), Loc.FileName, Loc.Line, Loc.Column, in createCodeCompletionConsumer() 716 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer() 744 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema() 758 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema() 1348 ModuleMap &ModMap = getPreprocessor().getHeaderSearchInfo().getModuleMap(); in cloneForModuleCompile() 1732 !getPreprocessor().getHeaderSearchInfo().getModuleCachePath().empty() && in createASTReader() 1748 getPreprocessor(), getModuleCache(), &getASTContext(), in createASTReader() [all …]
|
| H A D | PrecompiledPreamble.cpp | 340 *this, CI.getPreprocessor(), CI.getModuleCache(), Sysroot, Buffer); in CreateASTConsumer() 525 Clang->getPreprocessor().addPPCallbacks(std::move(DelegatedPPCallbacks)); in Build() 527 Clang->getPreprocessor().addCommentHandler(CommentHandler); in Build() 529 Clang->getPreprocessor().addPPCallbacks( in Build() 531 MissingFiles, Clang->getPreprocessor().getHeaderSearchInfo(), in Build()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 43 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()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 305 m_compiler_instance->getPreprocessor().getHeaderSearchInfo(); in AddModule() 489 if (m_compiler_instance->getPreprocessor().getExternalSource()) { in ForEachMacro() 490 m_compiler_instance->getPreprocessor() in ForEachMacro() 496 mi = m_compiler_instance->getPreprocessor().macro_begin(), in ForEachMacro() 497 me = m_compiler_instance->getPreprocessor().macro_end(); in ForEachMacro() 503 m_compiler_instance->getPreprocessor() in ForEachMacro() 516 m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii)) { in ForEachMacro() 773 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create() 775 instance->getPreprocessor().EnterMainSourceFile(); in Create()
|
| H A D | ClangExpressionParser.cpp | 860 RemoveAllCppKeywords(m_compiler->getPreprocessor().getIdentifierTable()); in ClangExpressionParser() 876 m_compiler->getPreprocessor().addPPCallbacks(std::move(pp_callbacks)); in ClangExpressionParser() 883 auto &PP = m_compiler->getPreprocessor(); in ClangExpressionParser() 1144 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults() 1272 &m_compiler->getPreprocessor()); in ParseInternal() 1284 auto &PP = m_compiler->getPreprocessor(); in ParseInternal() 1306 m_compiler->setSema(new Sema(m_compiler->getPreprocessor(), ast_context, in ParseInternal()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 92 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis() 101 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
|
| H A D | AnalysisConsumer.cpp | 125 PP(CI.getPreprocessor()), OutDir(outdir), Opts(opts), Plugins(plugins), in AnalysisConsumer() 794 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 417 CI.getPreprocessor().addPPCallbacks(std::make_unique<APIMacroCallback>( in CreateASTConsumer() 418 CI.getSourceManager(), *API, CI.getPreprocessor(), *LCF)); in CreateASTConsumer() 521 CI.getPreprocessor().addPPCallbacks(std::make_unique<MacroCallback>( in CreateASTConsumer() 522 CI.getSourceManager(), *API, CI.getPreprocessor())); in CreateASTConsumer()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 34 P.reset(new Parser(S.getPreprocessor(), S, /*SkipBodies=*/false)); in IncrementalParser() 100 Preprocessor &PP = S.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/contrib/llvm-project/clang/include/clang/InstallAPI/ |
| H A D | Frontend.h | 41 CI.getASTContext(), Ctx, CI.getSourceManager(), CI.getPreprocessor()); in CreateASTConsumer()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Testing/ |
| H A D | TestAST.h | 91 Preprocessor &preprocessor() { return Clang->getPreprocessor(); } in preprocessor()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 116 Preprocessor &getPreprocessor() { return getBugReporter().getPreprocessor(); } in getPreprocessor() function
|
| H A D | AnalysisManager.h | 66 Preprocessor &getPreprocessor() override { return PP; } in getPreprocessor() function
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MmapWriteExecChecker.cpp | 51 Preprocessor &PP = Mgr.getPreprocessor(); in checkASTDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 266 indexPreprocessorMacros(Unit.getPreprocessor(), DataConsumer); in indexASTUnit() 303 indexPreprocessorModuleMacros(Reader.getPreprocessor(), Mod, DataConsumer); in indexModuleFile()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 578 virtual Preprocessor &getPreprocessor() = 0; 629 Preprocessor &getPreprocessor() { return D.getPreprocessor(); } in getPreprocessor() function
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 464 Preprocessor &PP = ScanInstance.getPreprocessor(); in applyDiscoveredDependencies() 656 if (MDC.ScanInstance.getPreprocessor().isInImportingCXXNamedModules()) { in moduleImport() 688 auto &PP = MDC.ScanInstance.getPreprocessor(); in EndOfMainFile() 707 MDC.ScanInstance.getPreprocessor().getAffectingClangModules()) in EndOfMainFile() 776 MDC.ScanInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in handleTopLevelModule()
|
| /freebsd/contrib/llvm-project/clang/lib/Testing/ |
| H A D | TestAST.cpp | 136 Clang->getPreprocessor().EndSourceFile(); in TestAST()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 976 CI.getPreprocessor()); in CreateASTConsumer() 989 CI.getPreprocessor()); in CreateASTConsumer() 990 CI.getPreprocessor().addPPCallbacks(std::move(Callbacks)); in CreateASTConsumer() 997 CI.getPreprocessor(), CI.getModuleCache(), in CreateASTConsumer()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 450 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function 451 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
|