Skip to content

Commit 8ac979c

Browse files
committed
review: fix some typos
1 parent 35c1566 commit 8ac979c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/include/clang/Basic/DiagnosticLexKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ Error<"expected 'begin' or 'end'">;
10221022
let CategoryName = "Root Signature Lexical Issue" in {
10231023
def err_hlsl_expected_number_literal: Error<"expected numberic literal">;
10241024
def err_hlsl_number_literal_overflow :
1025-
Error<"integer literal is too large to be represented in any %select{signed |}0 integer type">;
1025+
Error<"integer literal '%0' is too large to be represented in a 32-bit integer type">;
10261026
def err_hlsl_invalid_token: Error<"unable to lex a valid Root Signature token">;
10271027
def err_hlsl_invalid_register_literal: Error<"expected unsigned integer literal as part of register">;
10281028
def err_hlsl_rootsig_unexpected_eos : Error<"unexpected end to token stream">;

clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ TEST_F(ParseHLSLRootSignatureTest, ValidLexAllTokensTest) {
220220
}
221221

222222
TEST_F(ParseHLSLRootSignatureTest, ValidLexPeekTest) {
223-
// This test will check that we can lex all defined tokens as defined in
224-
// HLSLRootSignatureTokenKinds.def, plus some additional integer variations
223+
// This test will check that we the peek api is correctly used
225224
const llvm::StringLiteral Source = R"cc(
226225
)1
227226
)cc";

0 commit comments

Comments
 (0)