================
@@ -1156,6 +1158,19 @@ class ASTReader
SmallVector<std::pair<VarDecl *, serialization::TypeID>, 16>
PendingDeducedVarTypes;
+ struct PendingPreferredNameAttribute {
+ Decl *D;
+ AttributeCommonInfo Info;
+ serialization::TypeID TypeID;
+ bool isInherited;
+ bool isImplicit;
+ bool isPackExpansion;
+ SourceLocation ElaboratedTypedefSL;
+ NestedNameSpecifierLoc NestedNameSL;
+ SourceLocation TypedefSL;
+ };
+ std::deque<PendingPreferredNameAttribute> PendingPreferredNameAttributes;
----------------
ilya-biryukov wrote:
Why not `SmallVector` like the above?
For a slightly higher efficiency and for consistency with the code above?
https://github.com/llvm/llvm-project/pull/122250
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits