Refactor functions PrintTemplateArgumentList
authorSerge Pavlov <sepavloff@gmail.com>
Tue, 28 Nov 2017 16:14:14 +0000 (16:14 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Tue, 28 Nov 2017 16:14:14 +0000 (16:14 +0000)
commit03e672ccab0eeb4ec685c6f6b3950cd177fadf1f
treedbb658165bb423799c82da410fd2c3ce71a252b9
parent14bd3b9f213918f9d717f297496bfc5d3707bc3b
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
clang/include/clang/AST/Type.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Decl.cpp
clang/lib/AST/DeclTemplate.cpp
clang/lib/AST/NestedNameSpecifier.cpp
clang/lib/AST/StmtPrinter.cpp
clang/lib/AST/TypePrinter.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/Sema/SemaTemplateInstantiate.cpp
clang/tools/libclang/CIndex.cpp