[HLSL] Adjust access specifier behaviorHLSL doesn't support access specifiers. This change has two components:1) Make default access for classes public2) Diagnose the use of access specifiers as
[HLSL] Adjust access specifier behaviorHLSL doesn't support access specifiers. This change has two components:1) Make default access for classes public2) Diagnose the use of access specifiers as a clang HLSL extensionAs long as the default behavior for access specifiers matches HLSL,allowing them to be used doesn't cause sourece incompatability withvalid code. As such enabling them as a clang extension seems like areasonable approach.Fixes #55124Reviewed By: aaron.ballmanDifferential Revision: https://reviews.llvm.org/D124487
show more ...
[HLSL] Add Semantic syntax, and SV_GroupIndexHLSL has a language feature called Semantics which get attached todeclarations like attributes and are used in a variety of ways.One example of seman
[HLSL] Add Semantic syntax, and SV_GroupIndexHLSL has a language feature called Semantics which get attached todeclarations like attributes and are used in a variety of ways.One example of semantic use is here with the `SV_GroupIndex` semanticwhich, when applied to an input for a compute shader is pre-populatedby the driver with a flattened thread index.Differential Revision: https://reviews.llvm.org/D122699# Conflicts:# clang/include/clang/Basic/Attr.td# clang/include/clang/Basic/AttrDocs.td