Skip to content

Commit 39d123f

Browse files
authored
[nfc] const-ify IntOrString::equalsLower (#92152)
1 parent 86f655c commit 39d123f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-rc/ResourceScriptStmt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class IntOrString {
145145
IntOrString(const RCToken &Token)
146146
: Data(Token), IsInt(Token.kind() == RCToken::Kind::Int) {}
147147

148-
bool equalsLower(const char *Str) {
148+
bool equalsLower(const char *Str) const {
149149
return !IsInt && Data.String.equals_insensitive(Str);
150150
}
151151

0 commit comments

Comments
 (0)