Home
last modified time | relevance | path

Searched refs:Diags (Results 1 – 12 of 12) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp37 static void ReportNameError(clang::Diagnostic *Diags, in ReportNameError() argument
39 slangAssert(Diags && PVD); in ReportNameError()
40 const clang::SourceManager &SM = Diags->getSourceManager(); in ReportNameError()
42 Diags->Report(clang::FullSourceLoc(PVD->getLocation(), SM), in ReportNameError()
43 Diags->getCustomDiagID(clang::Diagnostic::Error, in ReportNameError()
58 clang::Diagnostic *Diags = Context->getDiagnostics(); in validateAndConstructParams() local
69 Diags->Report( in validateAndConstructParams()
70 clang::FullSourceLoc(FD->getLocation(), Diags->getSourceManager()), in validateAndConstructParams()
71 Diags->getCustomDiagID(clang::Diagnostic::Error, in validateAndConstructParams()
101 Diags->Report( in validateAndConstructParams()
[all …]
Dslang_rs_export_type.cpp48 clang::Diagnostic *Diags,
52 static void ReportTypeError(clang::Diagnostic *Diags, in ReportTypeError() argument
56 if (!Diags) { in ReportTypeError()
60 const clang::SourceManager &SM = Diags->getSourceManager(); in ReportTypeError()
66 Diags->Report(clang::FullSourceLoc(TopLevelRecord->getLocation(), SM), in ReportTypeError()
67 Diags->getCustomDiagID(clang::Diagnostic::Error, Message)) in ReportTypeError()
70 Diags->Report(clang::FullSourceLoc(VD->getLocation(), SM), in ReportTypeError()
71 Diags->getCustomDiagID(clang::Diagnostic::Error, Message)) in ReportTypeError()
83 clang::Diagnostic *Diags, in ConstantArrayTypeExportableHelper() argument
89 ReportTypeError(Diags, VD, TopLevelRecord, in ConstantArrayTypeExportableHelper()
[all …]
Dslang_rs_export_func.cpp35 static bool ValidateFuncDecl(clang::Diagnostic *Diags, in ValidateFuncDecl() argument
37 slangAssert(Diags && FD); in ValidateFuncDecl()
40 Diags->Report( in ValidateFuncDecl()
41 clang::FullSourceLoc(FD->getLocation(), Diags->getSourceManager()), in ValidateFuncDecl()
42 Diags->getCustomDiagID(clang::Diagnostic::Error, in ValidateFuncDecl()
Dllvm-rs-cc.cpp161 clang::Diagnostic &Diags) { in ParseArguments() argument
172 Diags.Report(clang::diag::err_drv_missing_argument) in ParseArguments()
178 Diags.Report(clang::diag::err_drv_unknown_argument) in ParseArguments()
237 Diags.Report(clang::diag::err_drv_argument_not_allowed_with) in ParseArguments()
255 Diags.Report(clang::diag::err_drv_invalid_value) in ParseArguments()
269 Diags); in ParseArguments()
368 clang::Diagnostic Diags(DiagIDs, DiagClient, true); in main() local
372 ParseArguments(ArgVector, Inputs, Opts, Diags); in main()
375 if (Diags.hasErrorOccurred()) in main()
392 Diags.Report(clang::diag::err_drv_no_input_files); in main()
Dslang_rs_backend.h74 clang::Diagnostic *Diags,
Dslang_backend.h102 Backend(clang::Diagnostic *Diags,
Dslang_backend.cpp195 Backend::Backend(clang::Diagnostic *Diags, in Backend() argument
212 mDiags(*Diags), in Backend()
Dslang.cpp167 clang::Diagnostic* Diags = static_cast<clang::Diagnostic*>(UserData); in LLVMErrorHandler() local
168 Diags->Report(clang::diag::err_fe_error_backend) << Message; in LLVMErrorHandler()
Dslang_rs_export_foreach.h158 clang::Diagnostic *Diags,
Dslang_rs_backend.cpp46 clang::Diagnostic *Diags, in RSBackend() argument
54 : Backend(Diags, in RSBackend()
Dslang_rs_export_type.h129 clang::Diagnostic *Diags,
Dslang_rs_object_ref_count.cpp1064 clang::Diagnostic &Diags = C.getDiagnostics(); in CreateStructRSSetObject() local
1065 Diags.Report(clang::FullSourceLoc(Loc, C.getSourceManager()), in CreateStructRSSetObject()
1066 Diags.getCustomDiagID(clang::Diagnostic::Error, in CreateStructRSSetObject()