Lines Matching refs:DiagEngine
85 clang::DiagnosticsEngine *DiagEngine,
89 static void ReportTypeError(clang::DiagnosticsEngine *DiagEngine,
94 if (!DiagEngine) {
98 const clang::SourceManager &SM = DiagEngine->getSourceManager();
104 DiagEngine->Report(
106 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error, Message))
109 DiagEngine->Report(
111 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error, Message))
121 clang::DiagnosticsEngine *DiagEngine,
127 ReportTypeError(DiagEngine, VD, TopLevelRecord,
137 ReportTypeError(DiagEngine, VD, TopLevelRecord,
143 ReportTypeError(DiagEngine, VD, TopLevelRecord,
149 if (TypeExportableHelper(ElementType, SPS, DiagEngine, VD,
160 clang::DiagnosticsEngine *DiagEngine,
193 ReportTypeError(DiagEngine, VD, T->getAsUnionType()->getDecl(),
205 ReportTypeError(DiagEngine, NULL, T->getAsStructureType()->getDecl(),
215 ReportTypeError(DiagEngine, NULL, RD,
236 if (!TypeExportableHelper(FT, SPS, DiagEngine, VD, TopLevelRecord)) {
244 if (DiagEngine) {
245 DiagEngine->Report(
247 DiagEngine->getSourceManager()),
248 DiagEngine->getCustomDiagID(
262 ReportTypeError(DiagEngine, VD, TopLevelRecord,
272 ReportTypeError(DiagEngine, VD, TopLevelRecord,
279 (TypeExportableHelper(PointeeType, SPS, DiagEngine, VD,
296 (TypeExportableHelper(ElementType, SPS, DiagEngine, VD,
306 return ConstantArrayTypeExportableHelper(CAT, SPS, DiagEngine, VD,
317 // If the Type T is not exportable, this function returns NULL. DiagEngine is
323 clang::DiagnosticsEngine *DiagEngine,
328 return TypeExportableHelper(T, SPS, DiagEngine, VD, NULL);
459 clang::DiagnosticsEngine &DiagEngine = C.getDiagnostics();
461 DiagEngine.Report(
463 DiagEngine.getCustomDiagID(
468 DiagEngine.Report(
470 DiagEngine.getCustomDiagID(
484 clang::DiagnosticsEngine &DiagEngine = C.getDiagnostics();
485 DiagEngine.Report(
487 DiagEngine.getCustomDiagID(
546 clang::DiagnosticsEngine *DiagEngine,
548 if ((T = TypeExportable(T, DiagEngine, VD)) == NULL) {
554 if (DiagEngine) {
556 DiagEngine->Report(
558 DiagEngine->getSourceManager()),
559 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
562 DiagEngine->Report(
563 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
772 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
773 DiagEngine->Report(
774 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
991 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
992 DiagEngine->Report(
993 DiagEngine->getCustomDiagID(
1007 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
1008 DiagEngine->Report(
1009 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
1269 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
1273 DiagEngine->Report(
1275 DiagEngine->getCustomDiagID(
1286 DiagEngine->Report(
1288 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
1301 DiagEngine->Report(
1303 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
1311 DiagEngine->Report(
1313 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
1322 DiagEngine->Report(
1324 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,
1455 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
1473 DiagEngine->Report(
1474 clang::FullSourceLoc(RD->getLocation(), DiagEngine->getSourceManager()),
1475 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error,