summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-25 22:49:18 +0000
committerChris Lattner <sabre@nondot.org>2009-10-25 22:49:18 +0000
commitc0c043903b6e87ac8595ffeab1b71fb62f0174f6 (patch)
treecbfd656976ec364ce881150caed89d1a394ae30d
parentc77f989687965e752452e14620e5dd81a39b42ee (diff)
downloadbcm5719-llvm-c0c043903b6e87ac8595ffeab1b71fb62f0174f6.tar.gz
bcm5719-llvm-c0c043903b6e87ac8595ffeab1b71fb62f0174f6.zip
rename getTypeSigned() -> isTypeSigned() per daniel's review.
llvm-svn: 85076
-rw-r--r--clang/include/clang/Basic/TargetInfo.h4
-rw-r--r--clang/lib/Basic/TargetInfo.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h
index b88e2aaba38..a72a5f9b6a3 100644
--- a/clang/include/clang/Basic/TargetInfo.h
+++ b/clang/include/clang/Basic/TargetInfo.h
@@ -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.
diff --git a/clang/lib/Basic/TargetInfo.cpp b/clang/lib/Basic/TargetInfo.cpp
index 8f3c777c200..12caf0c8e51 100644
--- a/clang/lib/Basic/TargetInfo.cpp
+++ b/clang/lib/Basic/TargetInfo.cpp
@@ -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:
OpenPOWER on IntegriCloud