Skip to content

Commit 36ceb48

Browse files
start sema validations
1 parent 092784e commit 36ceb48

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,10 @@ void SemaHLSL::handleHLSLRootSignature(Decl *D, const ParsedAttr &AL) {
705705
unsigned NumArgs = AL.getNumArgs();
706706
if (NumArgs == 0 || NumArgs > 1)
707707
return;
708-
708+
709709
StringRef Signature;
710710
if (!SemaRef.checkStringLiteralArgumentAttr(AL, 0, Signature))
711711
return;
712-
713-
714712
}
715713

716714
void SemaHLSL::handleWaveSizeAttr(Decl *D, const ParsedAttr &AL) {

0 commit comments

Comments
 (0)