[PATCH] D113795: Comment Sema: Eliminate or factor out DeclInfo inspection (NFC)

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 31 13:08:34 PST 2022


aaronpuchert updated this revision to Diff 404693.
aaronpuchert added a comment.

Rename `checkDecl` to `hasDeclThat`, which should hopefully address most issues.

We leave `isFunctionPointerVarDecl` inlined for now, since it's probably wrong anyway. (I think we should look for fields.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113795

Files:
  clang/include/clang/AST/CommentSema.h
  clang/lib/AST/CommentSema.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113795.404693.patch
Type: text/x-patch
Size: 14385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220131/86674179/attachment.bin>


More information about the cfe-commits mailing list