]> granicus.if.org Git - clang/commit
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)
commit9fadf2235fe09410022228e4967eec29e0b92ca7
tree8e5d0d6f76939456d1af2d15dda03a5829347fbd
parentecd2a2a00fca50bdfaaa353792d66ccac36afe18
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319178 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/AST/DeclTemplate.cpp
lib/AST/NestedNameSpecifier.cpp
lib/AST/StmtPrinter.cpp
lib/AST/TypePrinter.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/Sema/SemaTemplateInstantiate.cpp
tools/libclang/CIndex.cpp