Skip to content

Commit 30adb43

Browse files
[AST] Fix a warning
This patch fixes: clang/lib/AST/DeclTemplate.cpp:466:9: error: unused type alias 'Base' [-Werror,-Wunused-local-typedef]
1 parent 28ad801 commit 30adb43

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/AST/DeclTemplate.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,6 @@ void FunctionTemplateDecl::addSpecialization(
463463
}
464464

465465
void FunctionTemplateDecl::mergePrevDecl(FunctionTemplateDecl *Prev) {
466-
using Base = RedeclarableTemplateDecl;
467-
468466
// If we haven't created a common pointer yet, then it can just be created
469467
// with the usual method.
470468
if (!getCommonPtrInternal())

0 commit comments

Comments
 (0)