diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2017-11-28 16:14:14 +0000 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2017-11-28 16:14:14 +0000 |
commit | 03e672ccab0eeb4ec685c6f6b3950cd177fadf1f (patch) | |
tree | dbb658165bb423799c82da410fd2c3ce71a252b9 /clang/lib/AST/NestedNameSpecifier.cpp | |
parent | 14bd3b9f213918f9d717f297496bfc5d3707bc3b (diff) | |
download | bcm5719-llvm-03e672ccab0eeb4ec685c6f6b3950cd177fadf1f.tar.gz bcm5719-llvm-03e672ccab0eeb4ec685c6f6b3950cd177fadf1f.zip |
Refactor functions PrintTemplateArgumentList
These functions were defined as static members of TemplateSpecializationType.
Now they are moved to namespace level. Previously there were different
implementations for lists containing TemplateArgument and TemplateArgumentLoc,
now these implementations share the same code.
This change is a result of refactoring patch D40508. NFC.
llvm-svn: 319178
Diffstat (limited to 'clang/lib/AST/NestedNameSpecifier.cpp')
-rw-r--r-- | clang/lib/AST/NestedNameSpecifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/NestedNameSpecifier.cpp b/clang/lib/AST/NestedNameSpecifier.cpp index 26483f54eb4..889f8308a93 100644 --- a/clang/lib/AST/NestedNameSpecifier.cpp +++ b/clang/lib/AST/NestedNameSpecifier.cpp @@ -326,8 +326,8 @@ NestedNameSpecifier::print(raw_ostream &OS, SpecType->getTemplateName().print(OS, InnerPolicy, true); // Print the template argument list. - TemplateSpecializationType::PrintTemplateArgumentList( - OS, SpecType->template_arguments(), InnerPolicy); + printTemplateArgumentList(OS, SpecType->template_arguments(), + InnerPolicy); } else { // Print the type normally QualType(T, 0).print(OS, InnerPolicy); |