Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/clang/include/clang/Basic/DiagnosticGroups.td
Original file line number Diff line number Diff line change
Expand Up @@ -807,4 +807,5 @@ def HLSLAvailability: DiagGroup<"hlsl-availability">;
def HLSLAvailabilityConstant: DiagGroup<"hlsl-availability-constant">;
def HLSLBarrier : DiagGroup<"hlsl-barrier">;
def HLSLLegacyLiterals : DiagGroup<"hlsl-legacy-literal">;
def HLSLGroupshared202x : DiagGroup<"hlsl-groupshared-202x">;
// HLSL Change Ends
7 changes: 4 additions & 3 deletions tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
Original file line number Diff line number Diff line change
Expand Up @@ -1597,9 +1597,10 @@ def warn_hlsl_sometimes_uninit_out_param : Warning<
"its declaration is reached|"
"%3 is called}2">,
InGroup<HLSLParameterUsage>;
def warn_hlsl_groupshared_202x: Warning<
"Support for groupshared parameter annotation not added until HLSL 202x">,
InGroup<HLSLParameterUsage>;
def warn_hlsl_groupshared_202x
: Warning<"Support for groupshared parameter annotation not added until "
"HLSL 202x">,
InGroup<HLSLGroupshared202x>;
def warn_hlsl_groupshared_inout: Warning<
"Passing groupshared variable to a parameter annotated with inout. See "
"'groupshared' parameter annotation added in 202x.">,
Expand Down
Loading
Loading