It is now placed before the function:
- allows to replace __attribute__((deprecated)) with [[deprecated]].
- required for trailing returns.
Fixes bug: https://bugs.llvm.org/show_bug.cgi?id=43753
Paths
| Differential D71140
[Wdocumentation] Properly place deprecated attribute ClosedPublic Authored by Mordante on Dec 6 2019, 12:02 PM.
Details Summary It is now placed before the function:
Fixes bug: https://bugs.llvm.org/show_bug.cgi?id=43753
Diff Detail
Event Timelinegribozavr2 added inline comments.
This revision is now accepted and ready to land.Dec 9 2019, 5:44 AM gribozavr2 added inline comments.
Closed by commit rGb972f2d05e8b: [Wdocumentation] Properly place deprecated attribute (authored by Mordante). · Explain WhyDec 10 2019, 12:19 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 233169 clang/lib/AST/CommentSema.cpp
clang/test/Sema/warn-documentation-fixits.cpp
clang/test/Sema/warn-documentation.cpp
|
I added one here, is this what you wanted or one for the RUN at line 1?