[PATCH] D129883: [HLSL] Support cbuffer/tbuffer for hlsl.
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 8 11:14:39 PDT 2022
python3kgae added inline comments.
================
Comment at: clang/lib/Parse/ParseHLSL.cpp:79-80
+ ParsedAttributes Attrs(AttrFactory);
+ MaybeParseCXX11Attributes(Attrs);
+ MaybeParseMicrosoftAttributes(Attrs);
+
----------------
aaron.ballman wrote:
> Just double-checking, but this allows `[[]]` style attributes as well as `[]` style attributes, but not `__attribute__` or `__declspec` style attributes, is that intended?
That is what dxc currently support.
It may change in the future. But for now, only [[]] and [] are supported.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129883/new/
https://reviews.llvm.org/D129883
More information about the cfe-commits
mailing list