[cfe-dev] "__device_builtin__" attribute ignored by clang AST matcher
Oliver Zhang via cfe-dev
cfe-dev at lists.llvm.org
Wed Jul 29 05:47:19 PDT 2020
Hi,
I'd like to use the clang AST matcher to match the "__device_builtin__"
attribute (ie, "__attribute__((device_builtin))") in pre-processed cuda
code, but it seems that the matcher just ignores the attribute. (In
clang/Sema/AttrParsedAttrKinds.inc, "AttributeCommonInfo::IgnoredAttribute"
is returned upon __device_builtin__.)
Can anyone please provide any information on how to customize the matcher
to match the ignored attribute?
Thanks,
Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200729/287b6990/attachment.html>
More information about the cfe-dev
mailing list