From: Rafael Espindola Date: Fri, 25 May 2012 14:17:45 +0000 (+0000) Subject: Whitespace fixes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59073bb1b430286d3c392134312c0b6c4f69a2b5;p=clang Whitespace fixes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157469 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 62cc62ae39..7b7fa42762 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -401,8 +401,7 @@ static LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D, = dyn_cast(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())); } }