diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-02-15 16:12:20 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-02-15 16:12:20 +0000 |
| commit | b0bc6c361da9009e8414efde317d9bbff755f6c0 (patch) | |
| tree | 0e5eb5ae8ac1b20e3979719c3d670a4318e039bd /lib/VMCore/Attributes.cpp | |
| parent | f6814754e8d3944b6fab7326a6f1f696fd9122f9 (diff) | |
| download | llvm-b0bc6c361da9009e8414efde317d9bbff755f6c0.tar.gz llvm-b0bc6c361da9009e8414efde317d9bbff755f6c0.tar.bz2 llvm-b0bc6c361da9009e8414efde317d9bbff755f6c0.tar.xz | |
Uniformize the names of type predicates: rather than having isFloatTy and
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Attributes.cpp')
| -rw-r--r-- | lib/VMCore/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp index 6fa597e958..ff0cc9bf00 100644 --- a/lib/VMCore/Attributes.cpp +++ b/lib/VMCore/Attributes.cpp @@ -89,7 +89,7 @@ std::string Attribute::getAsString(Attributes Attrs) { Attributes Attribute::typeIncompatible(const Type *Ty) { Attributes Incompatible = None; - if (!Ty->isInteger()) + if (!Ty->isIntegerTy()) // Attributes that only apply to integers. Incompatible |= SExt | ZExt; |
