[PATCH] D142560: Allow getRawCommentForDecl to find comments in macros

Dana Jansens via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 25 10:23:42 PST 2023


danakj updated this revision to Diff 492172.
danakj added a comment.

Ensure the comment outside the macro is attached to enums defined
inside NS_ENUM() and NS_OPTIONS() macros.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142560/new/

https://reviews.llvm.org/D142560

Files:
  clang/lib/AST/ASTContext.cpp
  clang/test/Index/annotate-comments-objc.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142560.492172.patch
Type: text/x-patch
Size: 7020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230125/c3a2b33d/attachment.bin>


More information about the cfe-commits mailing list