]> granicus.if.org Git - clang/commitdiff
Whitespace fixes.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 25 May 2012 14:17:45 +0000 (14:17 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 25 May 2012 14:17:45 +0000 (14:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157469 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Decl.cpp

index 62cc62ae39e0b3f6ebe104f81e2c21dce0c1b290..7b7fa4276245643226be95e5e4a49c38c33c90ed 100644 (file)
@@ -401,8 +401,7 @@ static LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D,
           = dyn_cast<ClassTemplateSpecializationDecl>(Tag)) {
       if (shouldConsiderTemplateLV(spec)) {
         // From the template.
-        LV.merge(getLVForDecl(spec->getSpecializedTemplate(),
-                              true));
+        LV.merge(getLVForDecl(spec->getSpecializedTemplate(), true));
 
         // The arguments at which the template was instantiated.
         const TemplateArgumentList &TemplateArgs = spec->getTemplateArgs();
@@ -546,9 +545,9 @@ static LinkageInfo getLVForClassMember(const NamedDecl *D, bool OnlyTemplate) {
         // class template specializations.
         LV.mergeWithMin(getLVForTemplateArgumentList(spec->getTemplateArgs(),
                                                      OnlyTemplate));
-      if (!OnlyTemplate)
-        LV.merge(getLVForTemplateParameterList(
-                    spec->getSpecializedTemplate()->getTemplateParameters()));
+        if (!OnlyTemplate)
+          LV.merge(getLVForTemplateParameterList(
+                      spec->getSpecializedTemplate()->getTemplateParameters()));
       }
     }