[PATCH] D66706: [Wdocumentation] fixes an assertion failure with typedefed function and block pointer
Mark de Wever via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 24 10:18:26 PDT 2019
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 this patch.
Fixes https://bugs.llvm.org/show_bug.cgi?id=42844
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D66706
Files:
clang/lib/AST/Comment.cpp
clang/lib/AST/CommentSema.cpp
clang/test/Sema/warn-documentation.cpp
clang/test/Sema/warn-documentation.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66706.217023.patch
Type: text/x-patch
Size: 3982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190824/786e7b28/attachment.bin>
More information about the cfe-commits
mailing list