Home
last modified time | relevance | path

Searched refs:getCompilerInstance (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang/tools/clang-import-test/
H A Dclang-import-test.cpp264 CompilerInstance &getCompilerInstance() { return *CI; } in getCompilerInstance() function
285 IndirectCI.getCompilerInstance(), *ST, *BC); in BuildIndirect()
286 IndirectCI.getCompilerInstance().setASTContext(AST.release()); in BuildIndirect()
312 init_convenience::BuildASTContext(CI.getCompilerInstance(), *ST, *BC); in Parse()
313 CI.getCompilerInstance().setASTContext(AST.release()); in Parse()
321 init_convenience::BuildCodeGen(CI.getCompilerInstance(), *LLVMCtx)); in Parse()
330 CI.getCompilerInstance().getLangOpts(), in Parse()
331 &CI.getCompilerInstance().getPreprocessor()); in Parse()
335 if (llvm::Error PE = ParseSource(Path, CI.getCompilerInstance(), Consumers)) in Parse()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp71 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
374 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
608 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
862 auto &FileMgr = getCompilerInstance().getFileManager(); in ExecuteAction()
869 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
963 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
1007 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
1099 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
1109 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
1157 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
[all …]
H A DASTMerge.cpp34 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
H A DFrontendAction.cpp146 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule()
1031 CompilerInstance &CI = getCompilerInstance(); in Execute()
1060 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile()
1118 return getCompilerInstance().getDiagnostics().hasErrorOccurred(); in shouldEraseOutputFiles()
1126 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
/llvm-project-15.0.7/clang/unittests/AST/
H A DExternalASTSourceTest.cpp32 getCompilerInstance().getASTContext().setExternalSource(Source); in ExecuteAction()
33 getCompilerInstance().getASTContext().getTranslationUnitDecl() in ExecuteAction()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp97 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction()
186 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
195 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
305 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
/llvm-project-15.0.7/clang/unittests/Sema/
H A DSemaLookupTest.cpp23 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
H A DExternalSemaSourceTest.cpp195 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
/llvm-project-15.0.7/clang/include/clang/Interpreter/
H A DInterpreter.h59 const CompilerInstance *getCompilerInstance() const;
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DInterpreter.cpp198 const CompilerInstance *Interpreter::getCompilerInstance() const { in getCompilerInstance() function in Interpreter
217 getCompilerInstance()->getASTContext().getTargetInfo(); in Execute()
H A DIncrementalParser.cpp85 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
/llvm-project-15.0.7/clang/unittests/Interpreter/ExceptionTests/
H A DInterpreterExceptionTest.cpp99 const clang::CompilerInstance *CI = Interp->getCompilerInstance(); in TEST()
/llvm-project-15.0.7/clang/unittests/Interpreter/
H A DInterpreterTest.cpp223 clang::ASTContext &C = Interp.getCompilerInstance()->getASTContext();
246 Sema &SemaRef = Interp.getCompilerInstance()->getSema();
/llvm-project-15.0.7/clang/tools/clang-repl/
H A DClangRepl.cpp132 return checkDiagErrors(Interp->getCompilerInstance()); in main()
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DCodeGenActionTest.cpp35 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
H A DFrontendActionTest.cpp166 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction()
/llvm-project-15.0.7/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp50 if (getCompilerInstance().getDiagnostics().getNumErrors() > 0) in ExecuteAction()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DFrontendAction.h119 CompilerInstance &getCompilerInstance() const { in getCompilerInstance() function
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenAction.cpp972 if (!getCompilerInstance().hasASTConsumer()) in EndSourceFileAction()
1078 CompilerInstance &CI = getCompilerInstance(); in loadModule()
1150 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.cpp41 clang::CompilerInstance *Compiler = &getCompilerInstance(); in ExecuteAction()