@@ -109,31 +109,31 @@ class StringSwitch {
109109 }
110110
111111 LLVM_DEPRECATED (" Pass cases in std::initializer_list instead" ,
112- " Cases{S0, S1, ...}, Value)" )
112+ " Cases( {S0, S1, ...}, Value)" )
113113 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
114114 StringLiteral S3, StringLiteral S4, StringLiteral S5,
115115 T Value) {
116116 return CasesImpl (Value, {S0, S1, S2, S3, S4, S5});
117117 }
118118
119119 LLVM_DEPRECATED (" Pass cases in std::initializer_list instead" ,
120- " Cases{S0, S1, ...}, Value)" )
120+ " Cases( {S0, S1, ...}, Value)" )
121121 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
122122 StringLiteral S3, StringLiteral S4, StringLiteral S5,
123123 StringLiteral S6, T Value) {
124124 return CasesImpl (Value, {S0, S1, S2, S3, S4, S5, S6});
125125 }
126126
127127 LLVM_DEPRECATED (" Pass cases in std::initializer_list instead" ,
128- " Cases{S0, S1, ...}, Value)" )
128+ " Cases( {S0, S1, ...}, Value)" )
129129 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
130130 StringLiteral S3, StringLiteral S4, StringLiteral S5,
131131 StringLiteral S6, StringLiteral S7, T Value) {
132132 return CasesImpl (Value, {S0, S1, S2, S3, S4, S5, S6, S7});
133133 }
134134
135135 LLVM_DEPRECATED (" Pass cases in std::initializer_list instead" ,
136- " Cases{S0, S1, ...}, Value)" )
136+ " Cases( {S0, S1, ...}, Value)" )
137137 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
138138 StringLiteral S3, StringLiteral S4, StringLiteral S5,
139139 StringLiteral S6, StringLiteral S7, StringLiteral S8,
@@ -142,7 +142,7 @@ class StringSwitch {
142142 }
143143
144144 LLVM_DEPRECATED (" Pass cases in std::initializer_list instead" ,
145- " Cases{S0, S1, ...}, Value)" )
145+ " Cases( {S0, S1, ...}, Value)" )
146146 StringSwitch &Cases (StringLiteral S0, StringLiteral S1, StringLiteral S2,
147147 StringLiteral S3, StringLiteral S4, StringLiteral S5,
148148 StringLiteral S6, StringLiteral S7, StringLiteral S8,
0 commit comments