[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:46:36 PST 2024


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

Done now.

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


More information about the cfe-commits mailing list