Skip to content

Commit 96c6b8c

Browse files
simollGreg Roth
andauthored
Update tools/clang/lib/Sema/SemaHLSL.cpp
Co-authored-by: Greg Roth <[email protected]>
1 parent 36d678c commit 96c6b8c

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
@@ -5538,7 +5538,7 @@ class HLSLExternalSource : public ExternalSemaSource {
55385538
if (ContainsLongVector(argType)) {
55395539
const unsigned ConstantBuffersOrTextureBuffersIdx = 0;
55405540
m_sema->Diag(argSrcLoc, diag::err_hlsl_unsupported_long_vector)
5541-
<< ConstantBuffersOrTextureBuffersIdx;
5541+
<< TypeDiagContext::ConstantBuffersOrTextureBuffers;
55425542
return true;
55435543
}
55445544
if (DiagnoseTypeElements(

0 commit comments

Comments
 (0)