]> granicus.if.org Git - clang/commitdiff
rename getTypeSigned() -> isTypeSigned() per daniel's review.
authorChris Lattner <sabre@nondot.org>
Sun, 25 Oct 2009 22:49:18 +0000 (22:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Oct 2009 22:49:18 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85076 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/TargetInfo.h
lib/Basic/TargetInfo.cpp

index b88e2aaba383b24aa01aca08be4a0d2aa67f1670..a72a5f9b6a3da0003509f432e9b97d4a0bd41da3 100644 (file)
@@ -103,9 +103,9 @@ public:
   /// enum. For example, SignedInt -> getIntWidth().
   unsigned getTypeWidth(IntType T) const;
 
-  /// getTypeSigned - Return whether an integer types is signed. Returns true if
+  /// isTypeSigned - Return whether an integer types is signed. Returns true if
   /// the type is signed; false otherwise.
-  bool getTypeSigned(IntType T) const;
+  bool isTypeSigned(IntType T) const;
 
   /// getPointerWidth - Return the width of pointers on this target, for the
   /// specified address space.
index 8f3c777c2004c302bce7c9d915e154e870753049..12caf0c8e512e9e7d0fadcada9c681f1d6b54638 100644 (file)
@@ -106,9 +106,9 @@ unsigned TargetInfo::getTypeWidth(IntType T) const {
   };
 }
 
-/// getTypeSigned - Return whether an integer types is signed. Returns true if
+/// isTypeSigned - Return whether an integer types is signed. Returns true if
 /// the type is signed; false otherwise.
-bool TargetInfo::getTypeSigned(IntType T) const {
+bool TargetInfo::isTypeSigned(IntType T) const {
   switch (T) {
   default: assert(0 && "not an integer!");
   case SignedShort: