forked from OSchip/llvm-project
- 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:
parent
2d42bbf5d0
commit
bc6bdc2992
|
@ -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...");
|
||||
|
|
Loading…
Reference in New Issue