We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StringSwitch::Cases
2 parents 3caf3aa + 2de905d commit 3dfc92cCopy full SHA for 3dfc92c
llvm/include/llvm/ADT/StringSwitch.h
@@ -89,6 +89,7 @@ class StringSwitch {
89
return CasesImpl(CaseStrings, Value);
90
}
91
92
+ [[deprecated("Pass cases in std::initializer_list instead")]]
93
StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
94
return CasesImpl({S0, S1}, Value);
95
0 commit comments