[PATCH] D19567: PR21823: 'nodebug' attribute on global/static variables

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 16:58:45 PDT 2016


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

LGTM on the attribute part. Someone else should pipe up if the debug info part looks incorrect, but it looks reasonable to me.


================
Comment at: include/clang/Basic/Attr.td:976
@@ -975,3 +975,3 @@
   let Spellings = [GCC<"nodebug">];
-  let Documentation = [Undocumented];
+  let Documentation = [NoDebugDocs];
 }
----------------
This isn't your problem to fix (though I would not complain if you did fix it!), but the lack of a Subjects line should be fixed at some point.


http://reviews.llvm.org/D19567





More information about the cfe-commits mailing list