We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c9fb15 + d4525b0 commit 40d2ad5Copy full SHA for 40d2ad5
clang/include/clang/AST/TemplateArgumentVisitor.h
@@ -52,7 +52,8 @@ class Base {
52
#define VISIT_METHOD(CATEGORY) \
53
RetTy Visit##CATEGORY##TemplateArgument(REF(TemplateArgument) TA, \
54
ParamTys... P) { \
55
- return VisitTemplateArgument(TA, std::forward<ParamTys>(P)...); \
+ return static_cast<ImplClass *>(this)->VisitTemplateArgument( \
56
+ TA, std::forward<ParamTys>(P)...); \
57
}
58
59
VISIT_METHOD(Null);
0 commit comments