[PATCH] D72518: [clang] New __attribute__((arm_mve_strict_polymorphism)).

Simon Tatham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 09:18:08 PST 2020


simon_tatham added inline comments.


================
Comment at: clang/include/clang/Basic/Attr.td:1474
+def ArmMveStrictPolymorphism : TypeAttr {
+  let Spellings = [Clang<"__clang_arm_mve_strict_polymorphism">];
+  let Documentation = [ArmMveStrictPolymorphismDocs];
----------------
aaron.ballman wrote:
> Why does this have a `__clang` prefix? That seems a bit strange given that the attribute can be spelled `[[clang::__clang_arm_mve_strict_polymorphism]]`. I'd probably drop the `__clang_` prefix entirely.
I was going by your recommendation for the spelling of `ArmMveAlias` in D67159#1659296. I've taken the `__clang_` off this one; should I do the same to that one as well, while I'm here?

(It ought to be safe to do that after the fact, because `ArmMveAlias` is locked down so hard that surely it //can't// have any users except the tablegen MveEmitter backend, which is easy to change.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72518





More information about the cfe-commits mailing list