[cfe-commits] r43428 - /cfe/trunk/AST/Type.cpp
Anders Carlsson
andersca at mac.com
Sun Oct 28 19:52:19 PDT 2007
Author: andersca
Date: Sun Oct 28 21:52:18 2007
New Revision: 43428
URL: http://llvm.org/viewvc/llvm-project?rev=43428&view=rev
Log:
Add BuiltinType::Char_S to Type::isCharType
Modified:
cfe/trunk/AST/Type.cpp
Modified: cfe/trunk/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Type.cpp?rev=43428&r1=43427&r2=43428&view=diff
==============================================================================
--- cfe/trunk/AST/Type.cpp (original)
+++ cfe/trunk/AST/Type.cpp Sun Oct 28 21:52:18 2007
@@ -288,7 +288,8 @@
if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
return BT->getKind() == BuiltinType::Char_U ||
BT->getKind() == BuiltinType::UChar ||
- BT->getKind() == BuiltinType::Char_S;
+ BT->getKind() == BuiltinType::Char_S ||
+ BT->getKind() == BuiltinType::SChar;
return false;
}
More information about the cfe-commits
mailing list