Home
last modified time | relevance | path

Searched refs:getPreprocessor (Results 1 – 25 of 54) sorted by relevance

123

/src/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp71 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()
/src/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp159 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule()
290 StringLiteralParser Literal(T, CI.getPreprocessor()); in ReadOriginalFileName()
451 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in loadModuleMapForModuleBuild()
502 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in prepareToBuildModule()
519 CI.getPreprocessor().setMainFileDir(*M->Directory); in prepareToBuildModule()
542 CI.getPreprocessor() in prepareToBuildModule()
573 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap(), M, in getInputBufferForModule()
667 AST->getPreprocessor().getHeaderSearchInfo().lookupModule( in BeginSourceFile()
712 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile()
824 &CI.getPreprocessor()); in BeginSourceFile()
[all …]
H A DFrontendActions.cpp72 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()
280 CI.getPreprocessor(), CI.getModuleCache(), in CreateASTConsumer()
285 CI.getPreprocessor(), CI.getModuleCache(), in CreateASTConsumer()
300 return std::make_unique<ReducedBMIGenerator>(CI.getPreprocessor(), in CreateASTConsumer()
344 CI.getPreprocessor(), CI.getModuleCache(), &CI.getASTContext(), in ExecuteAction()
869 Preprocessor &PP = CI.getPreprocessor(); in ExecuteAction()
943 R->getPreprocessor().macros(), in ExecuteAction()
[all …]
H A DChainedIncludesSource.cpp61 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 DCompilerInstance.cpp247 SimpleASTReaderListener Validator(CI.getPreprocessor()); in collectIncludePCH()
551 Preprocessor &PP = getPreprocessor(); in createASTContext()
617 AllowPCHWithCompilerErrors, getPreprocessor(), getModuleCache(), in createPCHExternalASTSource()
713 getPreprocessor(), Loc.FileName, Loc.Line, Loc.Column, in createCodeCompletionConsumer()
716 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer()
747 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema()
761 if (auto *currentModule = getPreprocessor().getCurrentModule()) { in createSema()
1339 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModule()
1717 !getPreprocessor().getHeaderSearchInfo().getModuleCachePath().empty() && in createASTReader()
1734 getPreprocessor(), getModuleCache(), &getASTContext(), in createASTReader()
[all …]
H A DPrecompiledPreamble.cpp341 *this, CI.getPreprocessor(), CI.getModuleCache(), Sysroot, Buffer); in CreateASTConsumer()
527 Clang->getPreprocessor().addPPCallbacks(std::move(DelegatedPPCallbacks)); in Build()
529 Clang->getPreprocessor().addCommentHandler(CommentHandler); in Build()
531 Clang->getPreprocessor().addPPCallbacks( in Build()
533 MissingFiles, Clang->getPreprocessor().getHeaderSearchInfo(), in Build()
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp44 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()
/src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp300 m_compiler_instance->getPreprocessor().getHeaderSearchInfo(); in AddModule()
479 if (m_compiler_instance->getPreprocessor().getExternalSource()) { in ForEachMacro()
480 m_compiler_instance->getPreprocessor() in ForEachMacro()
486 mi = m_compiler_instance->getPreprocessor().macro_begin(), in ForEachMacro()
487 me = m_compiler_instance->getPreprocessor().macro_end(); in ForEachMacro()
493 m_compiler_instance->getPreprocessor() in ForEachMacro()
506 m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii)) { in ForEachMacro()
763 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create()
765 instance->getPreprocessor().EnterMainSourceFile(); in Create()
H A DClangExpressionParser.cpp660 RemoveAllCppKeywords(m_compiler->getPreprocessor().getIdentifierTable()); in ClangExpressionParser()
676 m_compiler->getPreprocessor().addPPCallbacks(std::move(pp_callbacks)); in ClangExpressionParser()
683 auto &PP = m_compiler->getPreprocessor(); in ClangExpressionParser()
945 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults()
1074 &m_compiler->getPreprocessor()); in ParseInternal()
1086 auto &PP = m_compiler->getPreprocessor(); in ParseInternal()
1108 m_compiler->setSema(new Sema(m_compiler->getPreprocessor(), ast_context, in ParseInternal()
/src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp283 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()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp93 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
102 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
/src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp437 CI.getPreprocessor().addPPCallbacks(std::make_unique<APIMacroCallback>( in CreateASTConsumer()
438 CI.getSourceManager(), *API, CI.getPreprocessor(), *LCF)); in CreateASTConsumer()
541 CI.getPreprocessor().addPPCallbacks(std::make_unique<MacroCallback>( in CreateASTConsumer()
542 CI.getSourceManager(), *API, CI.getPreprocessor())); in CreateASTConsumer()
/src/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DFrontend.h41 CI.getASTContext(), Ctx, CI.getSourceManager(), CI.getPreprocessor()); in CreateASTConsumer()
/src/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp171 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 DCodeCompletion.cpp121 auto Prefix = S.getPreprocessor().getCodeCompletionFilter(); in handleKeyword()
166 auto Prefix = S.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults()
/src/contrib/llvm-project/clang/include/clang/Testing/
H A DTestAST.h91 Preprocessor &preprocessor() { return Clang->getPreprocessor(); } in preprocessor()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h113 Preprocessor &getPreprocessor() { return getBugReporter().getPreprocessor(); } in getPreprocessor() function
H A DAnalysisManager.h66 Preprocessor &getPreprocessor() override { return PP; } in getPreprocessor() function
/src/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp364 Preprocessor &PP = ScanInstance.getPreprocessor(); in applyDiscoveredDependencies()
481 if (MDC.ScanInstance.getPreprocessor().isInImportingCXXNamedModules()) { in moduleImport()
511 auto &PP = MDC.ScanInstance.getPreprocessor(); in EndOfMainFile()
530 MDC.ScanInstance.getPreprocessor().getAffectingClangModules()) in EndOfMainFile()
587 MDC.ScanInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in handleTopLevelModule()
/src/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp268 indexPreprocessorMacros(Unit.getPreprocessor(), DataConsumer); in indexASTUnit()
305 indexPreprocessorModuleMacros(Reader.getPreprocessor(), Mod, DataConsumer); in indexModuleFile()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h577 virtual Preprocessor &getPreprocessor() = 0;
627 Preprocessor &getPreprocessor() { return D.getPreprocessor(); } in getPreprocessor() function
/src/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp116 getPreprocessor().getHeaderSearchInfo().getHeaderSearchOpts(); in HandleTranslationUnit()
/src/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp136 Clang->getPreprocessor().EndSourceFile(); in TestAST()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp1016 CI.getPreprocessor()); in CreateASTConsumer()
1031 CI.getPreprocessor()); in CreateASTConsumer()
1032 CI.getPreprocessor().addPPCallbacks(std::move(Callbacks)); in CreateASTConsumer()
1039 CI.getPreprocessor(), CI.getModuleCache(), in CreateASTConsumer()
/src/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h438 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function
439 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function

123