- Renamed Type::isIntegral() to Type::isInteger()

- Added new method Type::isIntegral() that is the same as isInteger, but
    also accepts bool.

llvm-svn: 3573
This commit is contained in:
Chris Lattner 2002-09-03 01:07:35 +00:00
parent 2d42bbf5d0
commit bc6bdc2992
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ static string getPrintfCodeFor(const Value *V) {
return "0x%p";
else if (isa<PointerType>(V->getType()))
return DisablePtrHashing ? "0x%p" : "%d";
else if (V->getType()->isIntegral() || V->getType() == Type::BoolTy)
else if (V->getType()->isIntegral())
return "%d";
assert(0 && "Illegal value to print out...");