Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dllvm-rs-cc.cpp209 clang::DiagnosticsEngine *DiagEngine = in LLVMErrorHandler() local
212 DiagEngine->Report(clang::diag::err_fe_error_backend) << Message; in LLVMErrorHandler()
256 clang::DiagnosticsEngine DiagEngine(DiagIDs, &*DiagOpts, &DiagsBuffer, false); in main() local
257 clang::ProcessWarningOptions(DiagEngine, *DiagOpts); in main()
258 (void)DiagEngine.setSeverityForGroup(clang::diag::Flavor::WarningOrError, in main()
264 DiagEngine.Report(clang::diag::err_drv_no_input_files); in main()
269 llvm::install_fatal_error_handler(LLVMErrorHandler, &DiagEngine); in main()
284 new slang::Slang(32, &DiagEngine, &DiagsBuffer)); in main()
298 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()
305 if (DiagEngine.hasErrorOccurred()) { in ParseArguments()
Dslang_rs_context.h338 clang::DiagnosticsEngine *DiagEngine = getDiagnostics(); in Report() local
339 return DiagEngine->Report(DiagEngine->getCustomDiagID(Level, Message)); in Report()
346 clang::DiagnosticsEngine *DiagEngine = getDiagnostics(); in Report() local
348 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM), in Report()
349 DiagEngine->getCustomDiagID(Level, Message)); in Report()
Dslang.cpp135 clang::DiagnosticsEngine *DiagEngine) { in OpenOutputFile() argument
137 (DiagEngine != nullptr) && "Invalid parameter!"); in OpenOutputFile()
149 DiagEngine->Report(clang::diag::err_fe_error_opening) in OpenOutputFile()
241 Slang::Slang(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine, in Slang() argument
243 : mDiagEngine(DiagEngine), mDiagClient(DiagClient), in Slang()
Dslang_rs_context.cpp249 clang::DiagnosticsEngine *DiagEngine = getDiagnostics(); in processExports() local
250 DiagEngine->Report(VD->getLocation(), DiagEngine->getCustomDiagID( in processExports()
Dslang_backend.h166 clang::DiagnosticsEngine *DiagEngine,
Dslang.h227 Slang(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine,
Dslang_backend.cpp244 Backend::Backend(RSContext *Context, clang::DiagnosticsEngine *DiagEngine, in Backend() argument
266 mLLVMContext(slang::getGlobalLLVMContext()), mDiagEngine(*DiagEngine), in Backend()
Dslang_rs_object_ref_count.cpp975 clang::DiagnosticsEngine &DiagEngine = C.getDiagnostics(); in CreateStructRSSetObject() local
976 DiagEngine.Report( in CreateStructRSSetObject()
978 DiagEngine.getCustomDiagID( in CreateStructRSSetObject()