Skip to content

Commit 48ac876

Browse files
committed
review: use HLSL instead of Microsoft for parse method
1 parent 2826346 commit 48ac876

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/include/clang/Parse/Parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3601,7 +3601,7 @@ class Parser : public CodeCompletionHandler {
36013601
/// keyword.
36023602
bool isClassCompatibleKeyword(Token Tok) const;
36033603

3604-
void ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs);
3604+
void ParseHLSLRootSignatureAttributeArgs(ParsedAttributes &Attrs);
36053605

36063606
///@}
36073607

clang/lib/Parse/ParseDeclCXX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4901,7 +4901,7 @@ void Parser::ParseMicrosoftUuidAttributeArgs(ParsedAttributes &Attrs) {
49014901
}
49024902
}
49034903

4904-
void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs) {
4904+
void Parser::ParseHLSLRootSignatureAttributeArgs(ParsedAttributes &Attrs) {
49054905
assert(Tok.is(tok::identifier) &&
49064906
"Expected an identifier to denote which MS attribute to consider");
49074907
IdentifierInfo *RootSignatureIdent = Tok.getIdentifierInfo();
@@ -5005,7 +5005,7 @@ void Parser::ParseMicrosoftAttributes(ParsedAttributes &Attrs) {
50055005
if (Tok.getIdentifierInfo()->getName() == "uuid")
50065006
ParseMicrosoftUuidAttributeArgs(Attrs);
50075007
else if (Tok.getIdentifierInfo()->getName() == "RootSignature")
5008-
ParseMicrosoftRootSignatureAttributeArgs(Attrs);
5008+
ParseHLSLRootSignatureAttributeArgs(Attrs);
50095009
else {
50105010
IdentifierInfo *II = Tok.getIdentifierInfo();
50115011
SourceLocation NameLoc = Tok.getLocation();

0 commit comments

Comments
 (0)