[clang] [NFC][Clang] Use range for loops in ClangDiagnosticsEmitter (PR #115573)

Rahul Joshi via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 07:25:34 PST 2024


================
@@ -468,11 +442,9 @@ static StringRef getModifierName(ModifierType MT) {
     return "objcclass";
   case MT_ObjCInstance:
     return "objcinstance";
-  case MT_Unknown:
+  default:
----------------
jurahul wrote:

Thanks. I'll revert this back.

https://github.com/llvm/llvm-project/pull/115573


More information about the cfe-commits mailing list