Skip to content

Commit 66f6aff

Browse files
committed
Fix typos
1 parent 6d0d2d7 commit 66f6aff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/include/llvm/ADT/StringSwitch.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,31 +112,31 @@ class StringSwitch {
112112
}
113113

114114
LLVM_DEPRECATED("Pass cases in std::initializer_list instead",
115-
"Cases{S0, S1, ...}, Value)")
115+
"Cases({S0, S1, ...}, Value)")
116116
StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
117117
StringLiteral S3, StringLiteral S4, StringLiteral S5,
118118
T Value) {
119119
return CasesImpl(Value, {S0, S1, S2, S3, S4, S5});
120120
}
121121

122122
LLVM_DEPRECATED("Pass cases in std::initializer_list instead",
123-
"Cases{S0, S1, ...}, Value)")
123+
"Cases({S0, S1, ...}, Value)")
124124
StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
125125
StringLiteral S3, StringLiteral S4, StringLiteral S5,
126126
StringLiteral S6, T Value) {
127127
return CasesImpl(Value, {S0, S1, S2, S3, S4, S5, S6});
128128
}
129129

130130
LLVM_DEPRECATED("Pass cases in std::initializer_list instead",
131-
"Cases{S0, S1, ...}, Value)")
131+
"Cases({S0, S1, ...}, Value)")
132132
StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
133133
StringLiteral S3, StringLiteral S4, StringLiteral S5,
134134
StringLiteral S6, StringLiteral S7, T Value) {
135135
return CasesImpl(Value, {S0, S1, S2, S3, S4, S5, S6, S7});
136136
}
137137

138138
LLVM_DEPRECATED("Pass cases in std::initializer_list instead",
139-
"Cases{S0, S1, ...}, Value)")
139+
"Cases({S0, S1, ...}, Value)")
140140
StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
141141
StringLiteral S3, StringLiteral S4, StringLiteral S5,
142142
StringLiteral S6, StringLiteral S7, StringLiteral S8,
@@ -145,7 +145,7 @@ class StringSwitch {
145145
}
146146

147147
LLVM_DEPRECATED("Pass cases in std::initializer_list instead",
148-
"Cases{S0, S1, ...}, Value)")
148+
"Cases({S0, S1, ...}, Value)")
149149
StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2,
150150
StringLiteral S3, StringLiteral S4, StringLiteral S5,
151151
StringLiteral S6, StringLiteral S7, StringLiteral S8,

0 commit comments

Comments
 (0)