diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-29 07:07:36 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-29 07:07:36 +0000 |
commit | f5f7d864f5067d1ea4bff7fcf41b53a43b7b48ba (patch) | |
tree | 63fbd0c67662313316f86c364c4c35fb8ef09ee1 /lib/AST/TypePrinter.cpp | |
parent | bd64729ac6de8fed320e7a722597cc5444709c63 (diff) |
Get rid of FixedWidthIntType, as suggested by Chris and Eli.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r-- | lib/AST/TypePrinter.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index 4a2b956172..818657c2a7 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -94,21 +94,6 @@ void TypePrinter::PrintBuiltin(const BuiltinType *T, std::string &S) { } } -void TypePrinter::PrintFixedWidthInt(const FixedWidthIntType *T, - std::string &S) { - // FIXME: Once we get bitwidth attribute, write as - // "int __attribute__((bitwidth(x)))". - std::string prefix = "__clang_fixedwidth"; - prefix += llvm::utostr_32(T->getWidth()); - prefix += (char)(T->isSigned() ? 'S' : 'U'); - if (S.empty()) { - S = prefix; - } else { - // Prefix the basic type, e.g. 'int X'. - S = prefix + S; - } -} - void TypePrinter::PrintComplex(const ComplexType *T, std::string &S) { Print(T->getElementType(), S); S = "_Complex " + S; |