gribozavr added a comment.
Thanks!
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66706/new/
https://reviews.llvm.org/D66706
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370677: [Wdocumentation] fixes an assertion failure with
typedefed function and blockā¦ (authored by gribozavr, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Mordante added a comment.
Thanks for the review.
using D = void();
D = ...; ///< \return none
Is no issue, I added tests for it.
Can you commit the code for me?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66706/new/
https://reviews.llvm.org/D66706
gribozavr accepted this revision.
gribozavr added a comment.
This revision is now accepted and ready to land.
LGTM, but could you also verify that references are not an issue?
using D = void();
D = ...; ///< \return none
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66706/new/
Mordante updated this revision to Diff 218264.
Mordante marked an inline comment as done.
Mordante added a comment.
As discussed on IRC no longer allow `\return` on a `typedef`'ed type. This is
consistent with `\param`.
- Reverts all prior changes in `lib/AST/Comment.cpp`
- Adds extra tests in
gribozavr added inline comments.
Comment at: clang/lib/AST/Comment.cpp:151
+static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc ,
+ bool testTypedefTypeLoc = false) {
TypeLoc PrevTL;
Mordante wrote:
> gribozavr wrote:
> >
Mordante marked 3 inline comments as done.
Mordante added inline comments.
Comment at: clang/lib/AST/Comment.cpp:151
+static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc ,
+ bool testTypedefTypeLoc = false) {
TypeLoc PrevTL;
gribozavr added inline comments.
Comment at: clang/lib/AST/Comment.cpp:151
+static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc ,
+ bool testTypedefTypeLoc = false) {
TypeLoc PrevTL;
Mordante wrote:
> gribozavr wrote:
> >
Mordante marked 2 inline comments as done.
Mordante added inline comments.
Comment at: clang/lib/AST/Comment.cpp:151
+static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc ,
+ bool testTypedefTypeLoc = false) {
TypeLoc PrevTL;
gribozavr added inline comments.
Comment at: clang/lib/AST/Comment.cpp:151
+static bool getFunctionTypeLoc(TypeLoc TL, FunctionTypeLoc ,
+ bool testTypedefTypeLoc = false) {
TypeLoc PrevTL;
Why is the new functionality turned off
Mordante created this revision.
Mordante added a reviewer: gribozavr.
Mordante added a project: clang.
The assertion happens when compiling with -Wdocumentation with variable
declaration to a typedefed function pointer. I not too familiar with the ObjC
syntax but first two tests assert without
11 matches
Mail list logo