| /freebsd-13.1/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()
|
| H A D | ParseOpenMP.cpp | 186 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind() 194 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind() 198 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind() 833 StringRef Name = P.getPreprocessor().getSpelling(Tok, Buffer); in getNameFromIdOrString() 1088 P.getPreprocessor().getSpelling(P.getCurToken(), Buffer); in parseContextScore() 1653 Kind, Tok.isAnnotation() ? "" : P.getPreprocessor().getSpelling(Tok), in parseOpenMPSimpleClause() 3512 Preprocessor &PP = P.getPreprocessor(); in isMapModifier() 3596 Preprocessor &PP = P.getPreprocessor(); in isMapType()
|
| H A D | ParseStmt.cpp | 1255 NumDirectives(P.getPreprocessor().getNumDirectives()), Kind(K), in MisleadingIndentationChecker() 1304 ShouldSkip || NumDirectives != P.getPreprocessor().getNumDirectives() || in Check() 1315 SourceManager &SM = P.getPreprocessor().getSourceManager(); in Check() 1326 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) { in Check()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 145 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 268 StringLiteralParser Literal(T, CI.getPreprocessor()); in ReadOriginalFileName() 490 CI.getPreprocessor().setMainFileDir(M->Directory); in prepareToBuildModule() 509 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap() in prepareToBuildModule() 663 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 821 CI.getPreprocessor() in BeginSourceFile() 904 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 981 CI.getPreprocessor().EndSourceFile(); in EndSourceFile() 1002 CI.getPreprocessor().PrintStats(); in EndSourceFile() 1003 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 67 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 233 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in CreateOutputFile() 310 auto &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction() 760 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 775 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 793 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 805 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 882 DoPrintPreprocessedInput(CI.getPreprocessor(), OS.get(), in ExecuteAction() 927 const Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 969 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 | 243 SimpleASTReaderListener Validator(CI.getPreprocessor()); in collectIncludePCH() 551 Preprocessor &PP = getPreprocessor(); in createASTContext() 568 AllowPCHWithCompilerErrors, getPreprocessor(), getModuleCache(), in createPCHExternalASTSource() 657 createCodeCompletionConsumer(getPreprocessor(), in createCodeCompletionConsumer() 663 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer() 1527 getPreprocessor(), getModuleCache(), &getASTContext(), in createASTReader() 1569 CI.getPreprocessor().getIdentifierInfo(ModuleName)); in loadModuleFile() 1581 if (Module *M = CI.getPreprocessor() in loadModuleFile() 2025 checkConfigMacro(getPreprocessor(), TopModule->ConfigMacros[I], in loadModule() 2030 getPreprocessor() in loadModule() [all …]
|
| H A D | PrecompiledPreamble.cpp | 293 *this, CI.getPreprocessor(), CI.getModuleCache(), Sysroot, std::move(OS)); in CreateASTConsumer() 422 Clang->getPreprocessor().addPPCallbacks(std::move(DelegatedPPCallbacks)); in Build() 424 Clang->getPreprocessor().addCommentHandler(CommentHandler); in Build() 426 Clang->getPreprocessor().addPPCallbacks( in Build() 428 MissingFiles, Clang->getPreprocessor().getHeaderSearchInfo(), in Build()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 251 m_compiler_instance->getPreprocessor().getHeaderSearchInfo(); in AddModule() 430 if (m_compiler_instance->getPreprocessor().getExternalSource()) { in ForEachMacro() 431 m_compiler_instance->getPreprocessor() in ForEachMacro() 437 mi = m_compiler_instance->getPreprocessor().macro_begin(), in ForEachMacro() 438 me = m_compiler_instance->getPreprocessor().macro_end(); in ForEachMacro() 444 m_compiler_instance->getPreprocessor() in ForEachMacro() 457 m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii)) { in ForEachMacro() 713 instance->getPreprocessor().enableIncrementalProcessing(); in Create() 721 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create() 723 instance->getPreprocessor().EnterMainSourceFile(); in Create()
|
| H A D | ClangExpressionParser.cpp | 685 RemoveAllCppKeywords(m_compiler->getPreprocessor().getIdentifierTable()); in ClangExpressionParser() 701 m_compiler->getPreprocessor().addPPCallbacks(std::move(pp_callbacks)); in ClangExpressionParser() 708 auto &PP = m_compiler->getPreprocessor(); in ClangExpressionParser() 969 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults() 1097 &m_compiler->getPreprocessor()); in ParseInternal() 1108 auto &PP = m_compiler->getPreprocessor(); in ParseInternal() 1130 m_compiler->setSema(new Sema(m_compiler->getPreprocessor(), ast_context, in ParseInternal()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 294 Unit->getPreprocessor()); in checkForManualIssues() 309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 315 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in checkForManualIssues() 458 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 566 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 578 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 581 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
|
| H A D | ObjCMT.cpp | 200 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 205 CompInst->getPreprocessor(), false, None)); in CreateASTConsumer() 2024 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 2029 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 94 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis() 103 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
|
| H A D | AnalysisConsumer.cpp | 127 PP(CI.getPreprocessor()), OutDir(outdir), Opts(std::move(opts)), in AnalysisConsumer() 709 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 97 Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction() 131 new Parser(CI->getPreprocessor(), CI->getSema(), /*SkipBodies=*/false)); in IncrementalParser() 230 Preprocessor &PP = CI->getPreprocessor(); in Parse()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 110 Preprocessor &getPreprocessor() { return getBugReporter().getPreprocessor(); } in getPreprocessor() function
|
| H A D | AnalysisManager.h | 66 Preprocessor &getPreprocessor() override { return PP; } in getPreprocessor() function
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporter.h | 579 virtual Preprocessor &getPreprocessor() = 0; 622 Preprocessor &getPreprocessor() { return D.getPreprocessor(); } in getPreprocessor() function
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 435 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function 436 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
|
| H A D | CompilerInstance.h | 441 Preprocessor &getPreprocessor() const { in getPreprocessor() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 954 CI.getPreprocessor()); in CreateASTConsumer() 969 CI.getPreprocessor()); in CreateASTConsumer() 970 CI.getPreprocessor().addPPCallbacks(std::move(Callbacks)); in CreateASTConsumer()
|
| H A D | ObjectFilePCHContainerOperations.cpp | 142 MMap(CI.getPreprocessor().getHeaderSearchInfo().getModuleMap()), in PCHContainerGenerator()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 210 const FileEntry *ModuleMap = Instance.getPreprocessor() in handleTopLevelModule()
|