[PATCH] D70469: [attributes] [analyzer] Add handle related attributes
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 16:05:32 PST 2019
NoQ added inline comments.
================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:7287
+ case ParsedAttr::AT_AcquireHandle:
+ handleSimpleAttribute<AcquireHandleAttr>(S, D, AL);
+ break;
----------------
The next obvious step here would be to type-check the declaration to make sure that it's actually a handle (and emit a warning if it isn't).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70469/new/
https://reviews.llvm.org/D70469
More information about the cfe-commits
mailing list