[PATCH] D31338: Move ParsedAttrInfos into a registry and point to one in ParsedAttr

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 07:14:11 PST 2020


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

I like this approach much better, thank you for working on it! LGTM



================
Comment at: clang/include/clang/Basic/AttributeCommonInfo.h:140
+  /// will be normalized to gnu::attr).
+  std::string getFullName() const;
+
----------------
This should probably be `getNormalizedFullName()` -- the full by itself implies we don't normalize, to me.


================
Comment at: clang/include/clang/Sema/ParsedAttr.h:66
+    AttributeCommonInfo::Syntax Syntax;
+    std::string FullName;
+  };
----------------
`NormalizedFullName`?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D31338/new/

https://reviews.llvm.org/D31338





More information about the cfe-commits mailing list