@@ -98,13 +98,11 @@ class StringSwitch {
9898 return CasesImpl ({S0, S1, S2}, Value);
9999 }
100100
101- [[deprecated(" Pass cases in std::initializer_list instead" )]]
102101 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
103102 StringLiteral S3, T Value) {
104103 return CasesImpl ({S0, S1, S2, S3}, Value);
105104 }
106105
107- [[deprecated(" Pass cases in std::initializer_list instead" )]]
108106 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
109107 StringLiteral S3, StringLiteral S4, T Value) {
110108 return CasesImpl ({S0, S1, S2, S3, S4}, Value);
@@ -181,13 +179,11 @@ class StringSwitch {
181179 return CasesLowerImpl ({S0, S1, S2}, Value);
182180 }
183181
184- [[deprecated(" Pass cases in std::initializer_list instead" )]]
185182 StringSwitch &CasesLower (StringLiteral S0, StringLiteral S1, StringLiteral S2,
186183 StringLiteral S3, T Value) {
187184 return CasesLowerImpl ({S0, S1, S2, S3}, Value);
188185 }
189186
190- [[deprecated(" Pass cases in std::initializer_list instead" )]]
191187 StringSwitch &CasesLower (StringLiteral S0, StringLiteral S1, StringLiteral S2,
192188 StringLiteral S3, StringLiteral S4, T Value) {
193189 return CasesLowerImpl ({S0, S1, S2, S3, S4}, Value);
0 commit comments