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 | 88ea2455f8f911fdbebaca4a2f83fe9002987c8c (patch) | |
tree | de5f08b413512844edc94ffcb1cd6f0b1cff216b /clang/lib/Frontend/PCHWriter.cpp | |
parent | c25c6ee3dbf28ebbe1d918db8a55d498a4266d81 (diff) | |
download | bcm5719-llvm-88ea2455f8f911fdbebaca4a2f83fe9002987c8c.tar.gz bcm5719-llvm-88ea2455f8f911fdbebaca4a2f83fe9002987c8c.zip |
Get rid of FixedWidthIntType, as suggested by Chris and Eli.
llvm-svn: 92246
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 124df63aade..2875f0930c4 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/lib/Frontend/PCHWriter.cpp @@ -69,12 +69,6 @@ void PCHTypeWriter::VisitBuiltinType(const BuiltinType *T) { assert(false && "Built-in types are never serialized"); } -void PCHTypeWriter::VisitFixedWidthIntType(const FixedWidthIntType *T) { - Record.push_back(T->getWidth()); - Record.push_back(T->isSigned()); - Code = pch::TYPE_FIXED_WIDTH_INT; -} - void PCHTypeWriter::VisitComplexType(const ComplexType *T) { Writer.AddTypeRef(T->getElementType(), Record); Code = pch::TYPE_COMPLEX; @@ -283,9 +277,6 @@ void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { Writer.AddSourceLocation(TL.getNameLoc(), Record); } -void TypeLocWriter::VisitFixedWidthIntTypeLoc(FixedWidthIntTypeLoc TL) { - Writer.AddSourceLocation(TL.getNameLoc(), Record); -} void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { Writer.AddSourceLocation(TL.getNameLoc(), Record); } @@ -559,7 +550,6 @@ void PCHWriter::WriteBlockInfoBlock() { // Decls and Types block. BLOCK(DECLTYPES_BLOCK); RECORD(TYPE_EXT_QUAL); - RECORD(TYPE_FIXED_WIDTH_INT); RECORD(TYPE_COMPLEX); RECORD(TYPE_POINTER); RECORD(TYPE_BLOCK_POINTER); |