[clang] [Sema] Keep attribute lists in the order the attributes were parsed (PR #162714)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 9 15:39:54 PDT 2025


================
@@ -2638,17 +2638,17 @@ class Declarator {
     return InventedTemplateParameterList;
   }
 
-  /// takeAttributes - Takes attributes from the given parsed-attributes
-  /// set and add them to this declarator.
+  /// takeAttributesAppending - Takes attributes from the given
+  /// parsed-attributes set and add them to this declarator.
----------------
compnerd wrote:

Should this be `ParsedAttributes`?

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


More information about the cfe-commits mailing list