r361992 - Add curley brackets to case statement that declares a variable.

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 10:04:49 PDT 2019


Author: erichkeane
Date: Wed May 29 10:04:48 2019
New Revision: 361992

URL: http://llvm.org/viewvc/llvm-project?rev=361992&view=rev
Log:
Add curley brackets to case statement that declares a variable.

Modified:
    cfe/trunk/lib/AST/ItaniumMangle.cpp

Modified: cfe/trunk/lib/AST/ItaniumMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ItaniumMangle.cpp?rev=361992&r1=361991&r2=361992&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ItaniumMangle.cpp (original)
+++ cfe/trunk/lib/AST/ItaniumMangle.cpp Wed May 29 10:04:48 2019
@@ -3952,7 +3952,7 @@ recurse:
       Diags.Report(DiagID);
       return;
     }
-    case UETT_OpenMPRequiredSimdAlign:
+    case UETT_OpenMPRequiredSimdAlign: {
       DiagnosticsEngine &Diags = Context.getDiags();
       unsigned DiagID = Diags.getCustomDiagID(
           DiagnosticsEngine::Error,
@@ -3960,6 +3960,7 @@ recurse:
       Diags.Report(DiagID);
       return;
     }
+    }
     if (SAE->isArgumentType()) {
       Out << 't';
       mangleType(SAE->getArgumentType());




More information about the cfe-commits mailing list