diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-24 06:25:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-24 06:25:27 +0000 |
commit | 1e5665e6be5b00219581c1b951e0e5721c8b64e0 (patch) | |
tree | b67f3b9be0871c3ff9bb37414bb3fe7723bd1156 /clang/lib/Sema/SemaExprObjC.cpp | |
parent | f3d3faeca60a7fab63ee03bf2b04d65d8640374e (diff) | |
download | bcm5719-llvm-1e5665e6be5b00219581c1b951e0e5721c8b64e0.tar.gz bcm5719-llvm-1e5665e6be5b00219581c1b951e0e5721c8b64e0.zip |
Change a whole lot of diagnostics to take QualType's directly
instead of converting them to strings first. This also fixes a
bunch of minor inconsistencies in the diagnostics emitted by clang
and adds a bunch of FIXME's to DiagnosticKinds.def.
llvm-svn: 59948
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExprObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp index 094f3ec4609..4dadb65637f 100644 --- a/clang/lib/Sema/SemaExprObjC.cpp +++ b/clang/lib/Sema/SemaExprObjC.cpp @@ -388,7 +388,7 @@ Sema::ExprResult Sema::ActOnInstanceMessage(ExprTy *receiver, Selector Sel, << Sel << SourceRange(lbrac, rbrac); } else { Diag(lbrac, diag::error_bad_receiver_type) - << RExpr->getType().getAsString() << RExpr->getSourceRange(); + << RExpr->getType() << RExpr->getSourceRange(); return true; } |