Home
last modified time | relevance | path

Searched refs:DiagEngine (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/slang/
Dllvm-rs-cc.cpp208 clang::DiagnosticsEngine *DiagEngine = in LLVMErrorHandler() local
211 DiagEngine->Report(clang::diag::err_fe_error_backend) << Message; in LLVMErrorHandler()
255 clang::DiagnosticsEngine DiagEngine(DiagIDs, &*DiagOpts, &DiagsBuffer, false); in main() local
256 clang::ProcessWarningOptions(DiagEngine, *DiagOpts); in main()
257 (void)DiagEngine.setSeverityForGroup(clang::diag::Flavor::WarningOrError, in main()
263 DiagEngine.Report(clang::diag::err_drv_no_input_files); in main()
268 llvm::install_fatal_error_handler(LLVMErrorHandler, &DiagEngine); in main()
281 new slang::Slang(32, &DiagEngine, &DiagsBuffer)); in main()
295 new slang::Slang(64, &DiagEngine, &DiagsBuffer)); in main()
Drs_cc_options.cpp98 clang::DiagnosticsEngine DiagEngine(DiagIDs, &*ArgumentParseDiagOpts, in ParseArguments() local
117 DiagEngine.Report(clang::diag::err_drv_missing_argument) in ParseArguments()
125 DiagEngine.Report(clang::diag::err_drv_unknown_argument) in ParseArguments()
193 DiagEngine.Report(clang::diag::err_drv_argument_not_allowed_with) in ParseArguments()
213 DiagEngine.Report(clang::diag::err_drv_invalid_value) in ParseArguments()
245 DiagEngine.Report( in ParseArguments()
246 DiagEngine.getCustomDiagID(clang::DiagnosticsEngine::Error, in ParseArguments()
283 clang::getLastArgIntValue(Args, OPT_optimization_level, 3, DiagEngine); in ParseArguments()
289 clang::getLastArgIntValue(Args, OPT_target_api, RS_VERSION, DiagEngine); in ParseArguments()
300 if (DiagEngine.hasErrorOccurred()) { in ParseArguments()
Dslang_rs_context.h319 clang::DiagnosticsEngine *DiagEngine = getDiagnostics(); in Report() local
320 return DiagEngine->Report(DiagEngine->getCustomDiagID(Level, Message)); in Report()
327 clang::DiagnosticsEngine *DiagEngine = getDiagnostics(); in Report() local
329 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM), in Report()
330 DiagEngine->getCustomDiagID(Level, Message)); in Report()
Dslang.cpp131 clang::DiagnosticsEngine *DiagEngine) { in OpenOutputFile() argument
133 (DiagEngine != nullptr) && "Invalid parameter!"); in OpenOutputFile()
145 DiagEngine->Report(clang::diag::err_fe_error_opening) in OpenOutputFile()
242 Slang::Slang(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine, in Slang() argument
244 : mDiagEngine(DiagEngine), mDiagClient(DiagClient), in Slang()
Dslang_rs_context.cpp248 clang::DiagnosticsEngine *DiagEngine = getDiagnostics(); in processExports() local
249 DiagEngine->Report(VD->getLocation(), DiagEngine->getCustomDiagID( in processExports()
Dslang_backend.h152 clang::DiagnosticsEngine *DiagEngine,
Dslang.h224 Slang(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine,
Dslang_backend.cpp207 Backend::Backend(RSContext *Context, clang::DiagnosticsEngine *DiagEngine, in Backend() argument
229 mLLVMContext(llvm::getGlobalContext()), mDiagEngine(*DiagEngine), in Backend()
Dslang_rs_object_ref_count.cpp970 clang::DiagnosticsEngine &DiagEngine = C.getDiagnostics(); in CreateStructRSSetObject() local
971 DiagEngine.Report( in CreateStructRSSetObject()
973 DiagEngine.getCustomDiagID( in CreateStructRSSetObject()