///
/// Keys in the map never have const/volatile qualifiers.
llvm::DenseMap<QualType, serialization::TypeIdx, UnsafeQualTypeDenseMapInfo>
- TypeIDs;
+ TypeIdxs;
/// \brief Offset of each type in the bitstream, indexed by
/// the type's ID.
/// \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++);
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
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.
}
void ASTWriter::TypeRead(TypeIdx Idx, QualType T) {
- TypeIDs[T] = Idx;
+ TypeIdxs[T] = Idx;
}
void ASTWriter::DeclRead(DeclID ID, const Decl *D) {