diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-05-25 14:17:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-05-25 14:17:45 +0000 |
commit | 59073bb1b430286d3c392134312c0b6c4f69a2b5 (patch) | |
tree | 1a4a9a67c556a3fe202ea29528671bff29368b6f /lib/AST/Decl.cpp | |
parent | 10e16297240d2bfe1a226c5d32404d24e1f56bde (diff) |
Whitespace fixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
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<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())); } } |