[clang] [Serialization] Load Specializations Lazily (1/2) (PR #76774)

Jonas Hahnfeld via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 7 23:36:19 PST 2024


================
@@ -1249,3 +1249,5 @@ void ODRHash::AddQualType(QualType T) {
 void ODRHash::AddBoolean(bool Value) {
   Bools.push_back(Value);
 }
+
+void ODRHash::AddInteger(unsigned Value) { ID.AddInteger(Value); }
----------------
hahnjo wrote:

That test does not exercise an alias argument to a template template argument. IIRC the code you code is only active for typenames. Also see the test in https://reviews.llvm.org/D153003 that exercises different spellings of the semantically equivalent type `NS::A` inside a namespace.

https://github.com/llvm/llvm-project/pull/76774


More information about the cfe-commits mailing list