[cfe-commits] r166830 - /cfe/trunk/lib/AST/Decl.cpp

Eli Friedman eli.friedman at gmail.com
Fri Oct 26 16:05:34 PDT 2012


Author: efriedma
Date: Fri Oct 26 18:05:34 2012
New Revision: 166830

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


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

Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=166830&r1=166829&r2=166830&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Fri Oct 26 18:05:34 2012
@@ -236,8 +236,8 @@
       for (; PrevVar; PrevVar = PrevVar->getPreviousDecl())
         if (PrevVar->getStorageClass() == SC_PrivateExtern)
           break;
-        if (PrevVar)
-          return PrevVar->getLinkageAndVisibility();
+      if (PrevVar)
+        return PrevVar->getLinkageAndVisibility();
     }
   } else if (isa<FunctionDecl>(D) || isa<FunctionTemplateDecl>(D)) {
     // C++ [temp]p4:





More information about the cfe-commits mailing list