Home
last modified time | relevance | path

Searched refs:mDiagEngine (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/slang/
Dslang.cpp189 mTarget.reset(clang::TargetInfo::CreateTargetInfo(*mDiagEngine, in createTarget()
199 mSourceMgr.reset(new clang::SourceManager(*mDiagEngine, *mFileMgr)); in createSourceManager()
208 *mDiagEngine, in createPreprocessor()
215 *mDiagEngine, in createPreprocessor()
259 return new Backend(mDiagEngine, CodeGenOpts, getTargetOptions(), in createBackend()
275 mDiagEngine = DiagEngine; in init()
277 mDiag.reset(new clang::Diagnostic(mDiagEngine)); in init()
279 llvm::install_fatal_error_handler(LLVMErrorHandler, mDiagEngine); in init()
311 mDiagEngine->Report(clang::diag::err_fe_error_reading) << InputFile; in setInputSource()
327 mDiagEngine->Report(clang::diag::err_fe_error_reading) << InputFile; in setInputSource()
[all …]
Dslang_rs_check_ast.cpp68 mInKernel = RSExportForEach::isRSForEachFunc(mTargetAPI, &mDiagEngine, FD); in ValidateFunctionDecl()
88 if (!RSExportType::NormalizeType(T, TypeName, &mDiagEngine, VD)) { in ValidateVarDecl()
96 mDiagEngine.Report( in ValidateVarDecl()
98 mDiagEngine.getCustomDiagID( in ValidateVarDecl()
Dslang_rs_check_ast.h32 clang::DiagnosticsEngine &mDiagEngine; variable
42 : C(Con), mDiagEngine(Con.getDiagnostics()), mSM(C.getSourceManager()), in RSCheckAST()
Dslang_rs_backend.cpp98 mDiagEngine.Report( in HandleTopLevelDecl()
100 mDiagEngine.getCustomDiagID(clang::DiagnosticsEngine::Error, in HandleTopLevelDecl()
118 mDiagEngine.Report( in HandleTopLevelDecl()
120 mDiagEngine.getCustomDiagID(clang::DiagnosticsEngine::Error, in HandleTopLevelDecl()
148 mDiagEngine.Report( in HandleTranslationUnitPre()
150 mDiagEngine.getCustomDiagID( in HandleTranslationUnitPre()
158 mDiagEngine.Report( in HandleTranslationUnitPre()
160 mDiagEngine.getCustomDiagID(clang::DiagnosticsEngine::Error, in HandleTranslationUnitPre()
Dslang_backend.cpp122 mDiagEngine.Report(clang::diag::err_fe_unable_to_create_target) << Error; in CreateCodeGenPasses()
198 mDiagEngine.Report(clang::diag::err_fe_unable_to_interface_with_target); in CreateCodeGenPasses()
221 mDiagEngine(*DiagEngine), in Backend()
226 mGen = CreateLLVMCodeGen(mDiagEngine, "", mCodeGenOpts, in Backend()
Dslang.h87 clang::DiagnosticsEngine *mDiagEngine; variable
147 clang::DiagnosticsEngine &getDiagnostics() { return *mDiagEngine; } in getDiagnostics()
Dslang_backend.h81 clang::DiagnosticsEngine &mDiagEngine; variable