Home
last modified time | relevance | path

Searched refs:setASTContext (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingAction.cpp122 IndexCtx->setASTContext(Context); in Initialize()
263 IndexCtx.setASTContext(Unit.getASTContext()); in indexASTUnit()
278 IndexCtx.setASTContext(Ctx); in indexTopLevelDecls()
301 IndexCtx.setASTContext(Ctx); in indexModuleFile()
H A DIndexingContext.h50 void setASTContext(ASTContext &ctx) { Ctx = &ctx; } in setASTContext() function
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h52 void setASTContext(ASTContext &Context) { AST = &Context; } in setASTContext() function
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp92 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
/llvm-project-15.0.7/clang/tools/clang-import-test/
H A Dclang-import-test.cpp286 IndirectCI.getCompilerInstance().setASTContext(AST.release()); in BuildIndirect()
313 CI.getCompilerInstance().setASTContext(AST.release()); in Parse()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyDiagnosticConsumer.h132 void setASTContext(ASTContext *Context);
H A DClangTidy.cpp395 Context.setASTContext(&Compiler.getASTContext()); in createASTConsumer()
H A DClangTidyDiagnosticConsumer.cpp232 void ClangTidyContext::setASTContext(ASTContext *Context) { in setASTContext() function in ClangTidyContext
/llvm-project-15.0.7/clang/tools/libclang/
H A DIndexing.cpp307 DataConsumer.setASTContext(Context); in Initialize()
358 DataConsumer->setASTContext(CI.getASTContext()); in CreateASTConsumer()
709 DataConsumer.setASTContext(Unit->getASTContext()); in clang_indexTranslationUnit_Impl()
H A DCXIndexDataConsumer.h342 void setASTContext(ASTContext &ctx);
H A DCXIndexDataConsumer.cpp416 void CXIndexDataConsumer::setASTContext(ASTContext &ctx) { in setASTContext() function in CXIndexDataConsumer
418 cxtu::getASTUnit(CXTU)->setASTContext(&ctx); in setASTContext()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyTest.h61 Context.setASTContext(&Compiler.getASTContext());
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DCompilerInstance.h473 void setASTContext(ASTContext *Value);
H A DASTUnit.h442 void setASTContext(ASTContext *ctx) { Ctx = ctx; } in setASTContext() function
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendAction.cpp697 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile()
1082 CI.setASTContext(nullptr); in EndSourceFile()
H A DCompilerInstance.cpp174 void CompilerInstance::setASTContext(ASTContext *Value) { in setASTContext() function in CompilerInstance
558 setASTContext(Context); in createASTContext()
/llvm-project-15.0.7/clang/tools/clang-refactor/
H A DClangRefactor.cpp394 Context.setASTContext(AST); in callback()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DParsedAST.cpp480 CTContext->setASTContext(&Clang->getASTContext()); in build()