[PATCH] D123167: [HLSL] Pointers are unsupported in HLSL

Chris Bieneman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 13 21:15:47 PDT 2022


beanz updated this revision to Diff 422738.
beanz added a comment.

Updating based on PR feedback.

I've moved the error reporting into Sema, and added additional errors for unsupported operators.

I've also expanded the test coverage with some of @aaron.ballman's cursed code, which improves coverage substantailly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123167

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaExprMember.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/SemaHLSL/prohibit_pointer.hlsl
  clang/test/SemaHLSL/prohibit_reference.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123167.422738.patch
Type: text/x-patch
Size: 5702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220414/14104676/attachment.bin>


More information about the cfe-commits mailing list