Skip to content

Commit 40d2ad5

Browse files
authored
Merge branch 'main' into inbelic/wave-active-bitcount
2 parents 0c9fb15 + d4525b0 commit 40d2ad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/AST/TemplateArgumentVisitor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ class Base {
5252
#define VISIT_METHOD(CATEGORY) \
5353
RetTy Visit##CATEGORY##TemplateArgument(REF(TemplateArgument) TA, \
5454
ParamTys... P) { \
55-
return VisitTemplateArgument(TA, std::forward<ParamTys>(P)...); \
55+
return static_cast<ImplClass *>(this)->VisitTemplateArgument( \
56+
TA, std::forward<ParamTys>(P)...); \
5657
}
5758

5859
VISIT_METHOD(Null);

0 commit comments

Comments
 (0)