================
@@ -110,31 +111,41 @@ class StringSwitch {
     return CasesImpl(Value, {S0, S1, S2, S3, S4});
   }
 
+  LLVM_DEPRECATED("Pass cases in std::initializer_list instead",
+                  "Cases({S0, S1, ...}, Value)")
----------------
nikic wrote:

The second argument to LLVM_DEPRECATED is a fix-it replacement. Use 
`[[deprecated]]` instead of LLVM_DEPRECATED if you cannot provide a valid 
fix-it. We should really rename this macro.

https://github.com/llvm/llvm-project/pull/163405
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to