Fix TypeLoc::operator bool().

llvm-svn: 80447
This commit is contained in:
Argyrios Kyrtzidis 2009-08-29 22:39:19 +00:00
parent 15e05261d4
commit 9d7ab42eb6
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public:
TypeLoc() : Data(0) { }
bool isNull() const { return Ty.isNull(); }
operator bool() const { return isNull(); }
operator bool() const { return !isNull(); }
/// \brief Returns the size of type source info data block for the given type.
static unsigned getFullDataSizeForType(QualType Ty);