зеркало из https://github.com/microsoft/clang-1.git
rename getTypeSigned() -> isTypeSigned() per daniel's review.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
7a128e8400
Коммит
961f0708fb
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче