[clang] [clang][AST] Hash `AttributedType`'s `Attr` by Content (PR #200961)

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 10:53:23 PDT 2026


================
@@ -81,6 +81,8 @@ class Attr : public AttributeCommonInfo {
     return ::operator delete(Ptr, C, Alignment);
   }
 
+  virtual ~Attr() = default;
----------------
qiongsiwu wrote:

Good point! I revised the fix to make it narrower. The virtual method `Profile` is removed. 

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


More information about the cfe-commits mailing list