Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang.cpp191 mTarget.reset(clang::TargetInfo::CreateTargetInfo(*mDiagEngine, in createTarget()
201 mSourceMgr.reset(new clang::SourceManager(*mDiagEngine, *mFileMgr)); in createSourceManager()
210 *mDiagEngine, in createPreprocessor()
217 *mDiagEngine, in createPreprocessor()
261 return new Backend(mDiagEngine, CodeGenOpts, getTargetOptions(), in createBackend()
277 mDiagEngine = DiagEngine; in init()
279 mDiag.reset(new clang::Diagnostic(mDiagEngine)); in init()
281 llvm::install_fatal_error_handler(LLVMErrorHandler, mDiagEngine); in init()
313 mDiagEngine->Report(clang::diag::err_fe_error_reading) << InputFile; in setInputSource()
329 mDiagEngine->Report(clang::diag::err_fe_error_reading) << InputFile; in setInputSource()
[all …]
Dslang_rs_check_ast.h32 clang::DiagnosticsEngine &mDiagEngine; variable
50 : 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_rs_check_ast.cpp127 mDiagEngine.getCustomDiagID( clang::DiagnosticsEngine::Warning, in WarnOnSetElementAt()
179 mInKernel = RSExportForEach::isRSForEachFunc(mTargetAPI, &mDiagEngine, FD); in ValidateFunctionDecl()
199 if (!RSExportType::NormalizeType(T, TypeName, &mDiagEngine, VD)) { in ValidateVarDecl()
207 mDiagEngine.Report( in ValidateVarDecl()
209 mDiagEngine.getCustomDiagID( in ValidateVarDecl()
Dslang_backend.cpp121 mDiagEngine.Report(clang::diag::err_fe_unable_to_create_target) << Error; in CreateCodeGenPasses()
197 mDiagEngine.Report(clang::diag::err_fe_unable_to_interface_with_target); in CreateCodeGenPasses()
220 mDiagEngine(*DiagEngine), in Backend()
225 mGen = CreateLLVMCodeGen(mDiagEngine, "", mCodeGenOpts, in Backend()
Dslang.h88 clang::DiagnosticsEngine *mDiagEngine; variable
148 clang::DiagnosticsEngine &getDiagnostics() { return *mDiagEngine; } in getDiagnostics()
Dslang_backend.h81 clang::DiagnosticsEngine &mDiagEngine; variable