Skip to content

Commit 85746fb

Browse files
simollGreg Roth
andauthored
Update tools/clang/lib/Sema/SemaHLSL.cpp
Co-authored-by: Greg Roth <[email protected]>
1 parent 2be84a2 commit 85746fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5663,7 +5663,7 @@ class HLSLExternalSource : public ExternalSemaSource {
56635663
const unsigned TessellationPatchesIDx = 1;
56645664
m_sema->Diag(argLoc.getLocation(),
56655665
diag::err_hlsl_unsupported_long_vector)
5666-
<< TessellationPatchesIDx;
5666+
<< TypeDiagContext::TessellationPatches;
56675667
return true;
56685668
}
56695669
if (DiagnoseTypeElements(*m_sema, argLoc.getLocation(), arg.getAsType(),

0 commit comments

Comments
 (0)