[PATCH] D97411: [DebugInfo] Add an attribute to force type info to be emitted for types that are required to be complete.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 12 04:27:13 PST 2021


aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM with a small, technical nit to be fixed.



================
Comment at: clang/include/clang/Basic/Attr.td:1664
+def StandaloneDebug : InheritableAttr {
+  let Spellings = [Clang<"standalone_debug">];
+  let Subjects = SubjectList<[CXXRecord]>;
----------------
I think this should be `Clang<"standalone_debug", /*allowInC*/0>` so that `__has_c_attribute` reports `false` for it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97411



More information about the cfe-commits mailing list