Fix typo.

This commit is contained in:
Vassil Vassilev 2013-07-27 21:36:28 +03:00 committed by sftnight
parent 8e17b5e93e
commit 6910f4ed36

View File

@ -28,7 +28,7 @@ extern "C" {
int input;
clang::Sema *Sem = (clang::Sema *)S;
clang::DiagnosticsEngine &Diag = Sem->getDiagnostics();
Diag.Report(Diag.getCurrentDiagLoc(), clang::diag::warn_null_ptr_deref);
Diag.Report(clang::diag::warn_null_ptr_deref);
input = getchar();
getchar();
if (input == 'y' || input == 'Y') return false;