[cfe-commits] r139461 - /cfe/trunk/lib/AST/DeclCXX.cpp
Richard Trieu
rtrieu at google.com
Fri Sep 9 19:16:48 PDT 2011
Author: rtrieu
Date: Fri Sep 9 21:16:48 2011
New Revision: 139461
URL: http://llvm.org/viewvc/llvm-project?rev=139461&view=rev
Log:
Fix a broken assert in AST/DeclCXX.cpp.
Modified:
cfe/trunk/lib/AST/DeclCXX.cpp
Modified: cfe/trunk/lib/AST/DeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclCXX.cpp?rev=139461&r1=139460&r2=139461&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclCXX.cpp (original)
+++ cfe/trunk/lib/AST/DeclCXX.cpp Fri Sep 9 21:16:48 2011
@@ -1693,7 +1693,7 @@
switch (AS) {
default:
case AS_none:
- assert("Invalid access specifier!");
+ assert(0 && "Invalid access specifier!");
return 0;
case AS_public:
return "public";
More information about the cfe-commits
mailing list