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 d239314 + 197ebcb commit 14e578fCopy full SHA for 14e578f
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