[cfe-commits] r39578 - /cfe/cfe/trunk/AST/Type.cpp
clattner at cs.uiuc.edu
clattner at cs.uiuc.edu
Wed Jul 11 09:45:50 PDT 2007
Author: clattner
Date: Wed Jul 11 11:45:49 2007
New Revision: 39578
URL: http://llvm.org/viewvc/llvm-project?rev=39578&view=rev
Log:
fix a predicate I just broke
Modified:
cfe/cfe/trunk/AST/Type.cpp
Modified: cfe/cfe/trunk/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/AST/Type.cpp?rev=39578&r1=39577&r2=39578&view=diff
==============================================================================
--- cfe/cfe/trunk/AST/Type.cpp (original)
+++ cfe/cfe/trunk/AST/Type.cpp Wed Jul 11 11:45:49 2007
@@ -228,7 +228,7 @@
bool Type::isIntegerType() const {
if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
return BT->getKind() >= BuiltinType::Bool &&
- BT->getKind() <= BuiltinType::ULongLong;
+ BT->getKind() <= BuiltinType::LongLong;
if (const TagType *TT = dyn_cast<TagType>(CanonicalType))
if (TT->getDecl()->getKind() == Decl::Enum)
return true;
More information about the cfe-commits
mailing list