llvm-capstone/clang/test/SemaHLSL
Justin Bogner ef2b1700f4 [Sema][HLSL] Consolidate handling of HLSL attributes
This moves the sema checking of the entrypoint sensitive HLSL
attributes all into one place. This ended up being kind of large for a
couple of reasons:

- I had to move the call to CheckHLSLEntryPoint later in
  ActOnFunctionDeclarator so that we do this after redeclarations and
  have access to all of the attributes.

- We need to transfer the target shader stage onto the specified entry
  point before doing the checking.

- I removed "library" from the HLSLShader attribute value enum and
  just go through a string to convert from the triple - the other way
  was confusing and brittle.

Differential Revision: https://reviews.llvm.org/D158803
2023-08-29 08:55:38 -07:00
..
BuiltIns
Semantics [Sema][HLSL] Consolidate handling of HLSL attributes 2023-08-29 08:55:38 -07:00
AvailabilityMarkup.hlsl
BitInt128.hlsl
cb_error.hlsl
entry_shader_redecl.hlsl [Sema][HLSL] Consolidate handling of HLSL attributes 2023-08-29 08:55:38 -07:00
entry_shader.hlsl
entry.hlsl [Sema][HLSL] Consolidate handling of HLSL attributes 2023-08-29 08:55:38 -07:00
GlobalConstructors.hlsl
group_shared_202x.hlsl
group_shared.hlsl
lit.local.cfg
num_threads.hlsl [Sema][HLSL] Consolidate handling of HLSL attributes 2023-08-29 08:55:38 -07:00
prohibit_pointer.hlsl
prohibit_reference.hlsl
resource_binding_attr_error.hlsl
shader_type_attr.hlsl
valid-shader-stages.hlsl
Wave.hlsl
WaveBuiltinAvailability.hlsl