[PATCH] D17865: Add an optional string argument to DeprecatedAttr for Fix-It.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 16 07:05:03 PDT 2016
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
One small documentation nit, but I'm fine with you fixing it then committing (no need for another round of review). Thanks!
================
Comment at: include/clang/Basic/AttrDocs.td:2189
@@ +2188,3 @@
+
+The deprecated attribute can have two optional string arguments. The first
+one is the message to display when emitting the warning; the second one
----------------
"When spelled as ``__attribute__((deprecated))``, the deprecated attribute can..."
"Otherwise, when spelled as ``[[gnu::deprecated]]`` or ``[[deprecated]]``, the attribute can have one optional string argument which is the message to display when emitting the warning."
http://reviews.llvm.org/D17865
More information about the cfe-commits
mailing list