r253142 - Fix indentation. NFC

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 14 11:31:52 PST 2015


Author: ctopper
Date: Sat Nov 14 13:31:52 2015
New Revision: 253142

URL: http://llvm.org/viewvc/llvm-project?rev=253142&view=rev
Log:
Fix indentation. NFC

Modified:
    cfe/trunk/lib/Sema/DeclSpec.cpp

Modified: cfe/trunk/lib/Sema/DeclSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/DeclSpec.cpp?rev=253142&r1=253141&r2=253142&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/DeclSpec.cpp (original)
+++ cfe/trunk/lib/Sema/DeclSpec.cpp Sat Nov 14 13:31:52 2015
@@ -516,12 +516,12 @@ bool DeclSpec::SetStorageClassSpec(Sema
     case SCS_extern:
     case SCS_private_extern:
     case SCS_static:
-        if (S.getLangOpts().OpenCLVersion < 120) {
-          DiagID   = diag::err_opencl_unknown_type_specifier;
-          PrevSpec = getSpecifierName(SC);
-          return true;
-        }
-        break;
+      if (S.getLangOpts().OpenCLVersion < 120) {
+        DiagID   = diag::err_opencl_unknown_type_specifier;
+        PrevSpec = getSpecifierName(SC);
+        return true;
+      }
+      break;
     case SCS_auto:
     case SCS_register:
       DiagID   = diag::err_opencl_unknown_type_specifier;




More information about the cfe-commits mailing list