diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-20 16:04:04 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-20 16:04:04 +0000 |
commit | a7fbbb054682d3e44ef40506cc049a05ca3f2862 (patch) | |
tree | 6422cc4e9bd1a431e675c304617604d3fed94653 /clang/lib/Serialization/ASTWriter.cpp | |
parent | bb5c7eae4c089e2fa08c9f26b363e7a608a3fed9 (diff) | |
download | bcm5719-llvm-a7fbbb054682d3e44ef40506cc049a05ca3f2862.tar.gz bcm5719-llvm-a7fbbb054682d3e44ef40506cc049a05ca3f2862.zip |
Rename TypeIDs -> TypeIdxs. No functionality change.
llvm-svn: 111631
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 30a5d16e9ea..b421b857b41 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -1397,7 +1397,7 @@ void ASTWriter::WritePreprocessor(const Preprocessor &PP) { /// \brief Write the representation of a type to the AST stream. void ASTWriter::WriteType(QualType T) { - TypeIdx &Idx = TypeIDs[T]; + TypeIdx &Idx = TypeIdxs[T]; if (Idx.getIndex() == 0) // we haven't seen this type before. Idx = TypeIdx(NextTypeID++); @@ -2588,7 +2588,7 @@ void ASTWriter::AddTypeRef(QualType T, RecordData &Record) { T.removeFastQualifiers(); if (T.hasLocalNonFastQualifiers()) { - TypeIdx &Idx = TypeIDs[T]; + TypeIdx &Idx = TypeIdxs[T]; if (Idx.getIndex() == 0) { // We haven't seen these qualifiers applied to this type before. // Assign it a new ID. This is the only time we enqueue a @@ -2644,7 +2644,7 @@ void ASTWriter::AddTypeRef(QualType T, RecordData &Record) { return; } - TypeIdx &Idx = TypeIDs[T]; + TypeIdx &Idx = TypeIdxs[T]; if (Idx.getIndex() == 0) { // We haven't seen this type before. Assign it a new ID and put it // into the queue of types to emit. @@ -2921,7 +2921,7 @@ void ASTWriter::IdentifierRead(IdentID ID, IdentifierInfo *II) { } void ASTWriter::TypeRead(TypeIdx Idx, QualType T) { - TypeIDs[T] = Idx; + TypeIdxs[T] = Idx; } void ASTWriter::DeclRead(DeclID ID, const Decl *D) { |