@@ -835,15 +835,15 @@ class DeclSpec {
835835 // / \endcode
836836 // /
837837 void addAttributes (const ParsedAttributesView &AL) {
838- Attrs.prependAll (AL.begin (), AL.end ());
838+ Attrs.prepend (AL.begin (), AL.end ());
839839 }
840840
841841 bool hasAttributes () const { return !Attrs.empty (); }
842842
843843 ParsedAttributes &getAttributes () { return Attrs; }
844844 const ParsedAttributes &getAttributes () const { return Attrs; }
845845
846- void takeAttributesAppendingFrom (ParsedAttributes &attrs) {
846+ void takeAttributesAppendingingFrom (ParsedAttributes &attrs) {
847847 Attrs.takeAllAppendingFrom (attrs);
848848 }
849849
@@ -2327,7 +2327,7 @@ class Declarator {
23272327 void AddTypeInfo (const DeclaratorChunk &TI, ParsedAttributes &&attrs,
23282328 SourceLocation EndLoc) {
23292329 DeclTypeInfo.push_back (TI);
2330- DeclTypeInfo.back ().getAttrs ().prependAll (attrs.begin (), attrs.end ());
2330+ DeclTypeInfo.back ().getAttrs ().prepend (attrs.begin (), attrs.end ());
23312331 getAttributePool ().takeAllFrom (attrs.getPool ());
23322332
23332333 if (!EndLoc.isInvalid ())
@@ -2638,16 +2638,16 @@ class Declarator {
26382638 return InventedTemplateParameterList;
26392639 }
26402640
2641- // / takeAttributesAppend - Takes attributes from the given parsed-attributes
2642- // / set and add them to this declarator.
2641+ // / takeAttributesAppending - Takes attributes from the given
2642+ // / parsed-attributes set and add them to this declarator.
26432643 // /
26442644 // / These examples both add 3 attributes to "var":
26452645 // / short int var __attribute__((aligned(16),common,deprecated));
26462646 // / short int x, __attribute__((aligned(16)) var
26472647 // / __attribute__((common,deprecated));
26482648 // /
26492649 // / Also extends the range of the declarator.
2650- void takeAttributesAppend (ParsedAttributes &attrs) {
2650+ void takeAttributesAppending (ParsedAttributes &attrs) {
26512651 Attrs.takeAllAppendingFrom (attrs);
26522652
26532653 if (attrs.Range .getEnd ().isValid ())
0 commit comments