@@ -139,7 +139,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseEmptyTest) {
139
139
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
140
140
SmallVector<RootElement> Elements;
141
141
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
142
- *PP);
142
+ Signature, *PP);
143
143
144
144
// Test no diagnostics produced
145
145
Consumer->setNoDiag ();
@@ -177,7 +177,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseDTClausesTest) {
177
177
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
178
178
SmallVector<RootElement> Elements;
179
179
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
180
- *PP);
180
+ Signature, *PP);
181
181
182
182
// Test no diagnostics produced
183
183
Consumer->setNoDiag ();
@@ -284,7 +284,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseStaticSamplerTest) {
284
284
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
285
285
SmallVector<RootElement> Elements;
286
286
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
287
- *PP);
287
+ Signature, *PP);
288
288
289
289
// Test no diagnostics produced
290
290
Consumer->setNoDiag ();
@@ -373,7 +373,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseFloatsTest) {
373
373
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
374
374
SmallVector<RootElement> Elements;
375
375
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
376
- *PP);
376
+ Signature, *PP);
377
377
378
378
// Test no diagnostics produced
379
379
Consumer->setNoDiag ();
@@ -452,7 +452,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidSamplerFlagsTest) {
452
452
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
453
453
SmallVector<RootElement> Elements;
454
454
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
455
- *PP);
455
+ Signature, *PP);
456
456
457
457
// Test no diagnostics produced
458
458
Consumer->setNoDiag ();
@@ -487,7 +487,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseRootConsantsTest) {
487
487
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
488
488
SmallVector<RootElement> Elements;
489
489
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
490
- *PP);
490
+ Signature, *PP);
491
491
492
492
// Test no diagnostics produced
493
493
Consumer->setNoDiag ();
@@ -548,7 +548,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseRootFlagsTest) {
548
548
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
549
549
SmallVector<RootElement> Elements;
550
550
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
551
- *PP);
551
+ Signature, *PP);
552
552
553
553
// Test no diagnostics produced
554
554
Consumer->setNoDiag ();
@@ -605,7 +605,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseRootDescriptorsTest) {
605
605
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
606
606
SmallVector<RootElement> Elements;
607
607
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
608
- *PP);
608
+ Signature, *PP);
609
609
610
610
// Test no diagnostics produced
611
611
Consumer->setNoDiag ();
@@ -683,7 +683,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidTrailingCommaTest) {
683
683
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
684
684
SmallVector<RootElement> Elements;
685
685
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
686
- *PP);
686
+ Signature, *PP);
687
687
688
688
// Test no diagnostics produced
689
689
Consumer->setNoDiag ();
@@ -857,7 +857,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidParseUnexpectedTokenTest) {
857
857
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
858
858
SmallVector<RootElement> Elements;
859
859
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
860
- *PP);
860
+ Signature, *PP);
861
861
862
862
// Test correct diagnostic produced
863
863
Consumer->setExpected (diag::err_hlsl_unexpected_end_of_params);
@@ -881,7 +881,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidParseInvalidTokenTest) {
881
881
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
882
882
SmallVector<RootElement> Elements;
883
883
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
884
- *PP);
884
+ Signature, *PP);
885
885
886
886
// Test correct diagnostic produced - invalid token
887
887
Consumer->setExpected (diag::err_hlsl_unexpected_end_of_params);
@@ -905,7 +905,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidParseUnexpectedEndOfStreamTest) {
905
905
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
906
906
SmallVector<RootElement> Elements;
907
907
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
908
- *PP);
908
+ Signature, *PP);
909
909
910
910
// Test correct diagnostic produced - end of stream
911
911
Consumer->setExpected (diag::err_expected_after);
@@ -934,7 +934,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidMissingDTParameterTest) {
934
934
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
935
935
SmallVector<RootElement> Elements;
936
936
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
937
- *PP);
937
+ Signature, *PP);
938
938
939
939
// Test correct diagnostic produced
940
940
Consumer->setExpected (diag::err_hlsl_rootsig_missing_param);
@@ -960,7 +960,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidMissingRDParameterTest) {
960
960
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
961
961
SmallVector<RootElement> Elements;
962
962
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
963
- *PP);
963
+ Signature, *PP);
964
964
965
965
// Test correct diagnostic produced
966
966
Consumer->setExpected (diag::err_hlsl_rootsig_missing_param);
@@ -986,7 +986,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidMissingRCParameterTest) {
986
986
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
987
987
SmallVector<RootElement> Elements;
988
988
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
989
- *PP);
989
+ Signature, *PP);
990
990
991
991
// Test correct diagnostic produced
992
992
Consumer->setExpected (diag::err_hlsl_rootsig_missing_param);
@@ -1014,7 +1014,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidRepeatedMandatoryDTParameterTest) {
1014
1014
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1015
1015
SmallVector<RootElement> Elements;
1016
1016
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1017
- *PP);
1017
+ Signature, *PP);
1018
1018
1019
1019
// Test correct diagnostic produced
1020
1020
Consumer->setExpected (diag::err_hlsl_rootsig_repeat_param);
@@ -1040,7 +1040,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidRepeatedMandatoryRCParameterTest) {
1040
1040
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1041
1041
SmallVector<RootElement> Elements;
1042
1042
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1043
- *PP);
1043
+ Signature, *PP);
1044
1044
1045
1045
// Test correct diagnostic produced
1046
1046
Consumer->setExpected (diag::err_hlsl_rootsig_repeat_param);
@@ -1068,7 +1068,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidRepeatedOptionalDTParameterTest) {
1068
1068
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1069
1069
SmallVector<RootElement> Elements;
1070
1070
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1071
- *PP);
1071
+ Signature, *PP);
1072
1072
1073
1073
// Test correct diagnostic produced
1074
1074
Consumer->setExpected (diag::err_hlsl_rootsig_repeat_param);
@@ -1098,7 +1098,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidRepeatedOptionalRCParameterTest) {
1098
1098
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1099
1099
SmallVector<RootElement> Elements;
1100
1100
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1101
- *PP);
1101
+ Signature, *PP);
1102
1102
1103
1103
// Test correct diagnostic produced
1104
1104
Consumer->setExpected (diag::err_hlsl_rootsig_repeat_param);
@@ -1125,7 +1125,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidLexOverflowedNumberTest) {
1125
1125
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1126
1126
SmallVector<RootElement> Elements;
1127
1127
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1128
- *PP);
1128
+ Signature, *PP);
1129
1129
1130
1130
// Test correct diagnostic produced
1131
1131
Consumer->setExpected (diag::err_hlsl_number_literal_overflow);
@@ -1151,7 +1151,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidParseOverflowedNegativeNumberTest) {
1151
1151
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1152
1152
SmallVector<RootElement> Elements;
1153
1153
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1154
- *PP);
1154
+ Signature, *PP);
1155
1155
1156
1156
// Test correct diagnostic produced
1157
1157
Consumer->setExpected (diag::err_hlsl_number_literal_overflow);
@@ -1176,7 +1176,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidLexOverflowedFloatTest) {
1176
1176
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1177
1177
SmallVector<RootElement> Elements;
1178
1178
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1179
- *PP);
1179
+ Signature, *PP);
1180
1180
1181
1181
// Test correct diagnostic produced
1182
1182
Consumer->setExpected (diag::err_hlsl_number_literal_overflow);
@@ -1201,7 +1201,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidLexNegOverflowedFloatTest) {
1201
1201
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1202
1202
SmallVector<RootElement> Elements;
1203
1203
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1204
- *PP);
1204
+ Signature, *PP);
1205
1205
1206
1206
// Test correct diagnostic produced
1207
1207
Consumer->setExpected (diag::err_hlsl_number_literal_overflow);
@@ -1226,7 +1226,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidLexOverflowedDoubleTest) {
1226
1226
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1227
1227
SmallVector<RootElement> Elements;
1228
1228
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1229
- *PP);
1229
+ Signature, *PP);
1230
1230
1231
1231
// Test correct diagnostic produced
1232
1232
Consumer->setExpected (diag::err_hlsl_number_literal_overflow);
@@ -1251,7 +1251,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidLexUnderflowFloatTest) {
1251
1251
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1252
1252
SmallVector<RootElement> Elements;
1253
1253
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1254
- *PP);
1254
+ Signature, *PP);
1255
1255
1256
1256
// Test correct diagnostic produced
1257
1257
Consumer->setExpected (diag::err_hlsl_number_literal_underflow);
@@ -1279,7 +1279,7 @@ TEST_F(ParseHLSLRootSignatureTest, InvalidNonZeroFlagsTest) {
1279
1279
hlsl::RootSignatureLexer Lexer (Source, TokLoc);
1280
1280
SmallVector<RootElement> Elements;
1281
1281
hlsl::RootSignatureParser Parser (RootSignatureVersion::V1_1, Elements, Lexer,
1282
- *PP);
1282
+ Signature, *PP);
1283
1283
1284
1284
// Test correct diagnostic produced
1285
1285
Consumer->setExpected (diag::err_hlsl_rootsig_non_zero_flag);
0 commit comments