[PATCH] D135060: [HLSL] Add groupshare address space.

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 23:54:41 PDT 2022


python3kgae marked 2 inline comments as done.
python3kgae added inline comments.


================
Comment at: clang/test/ParserHLSL/group_shared.hlsl:11
+// expected-warning at +1 {{'auto' type specifier is a C++11 extension}}
+auto l = []() groupshared  {};
+
----------------
beanz wrote:
> What happens to this if you set the language standard to hlsl 202x? I setup 202x in Clang to be C++11-based since I think that is the direction 202x will take (still a lot unsure about the exact features).
hlsl 202x works!
I'll need to add more tests for hlsl 202x since lambda compiles.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135060



More information about the cfe-commits mailing list