[cfe-commits] r140232 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Richard Trieu
rtrieu at google.com
Tue Sep 20 19:50:14 PDT 2011
Author: rtrieu
Date: Tue Sep 20 21:50:14 2011
New Revision: 140232
URL: http://llvm.org/viewvc/llvm-project?rev=140232&view=rev
Log:
Change:
assert(!"error message");
To:
assert(0 && "error message");
which is more consistant across the code base.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=140232&r1=140231&r2=140232&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Tue Sep 20 21:50:14 2011
@@ -8936,7 +8936,7 @@
else if (pw == Context.getTargetInfo().getLongLongWidth())
Ty = Context.LongLongTy;
else {
- assert(!"I don't know size of pointer!");
+ assert(0 && "I don't know size of pointer!");
Ty = Context.IntTy;
}
More information about the cfe-commits
mailing list