File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 28
28
#include "clang/AST/ExprOpenMP.h"
29
29
#include "clang/AST/OperationKinds.h"
30
30
#include "clang/AST/ParentMapContext.h"
31
+ #include "clang/AST/RecursiveASTVisitor.h"
31
32
#include "clang/AST/Type.h"
32
33
#include "clang/AST/TypeLoc.h"
33
34
#include "clang/Basic/Builtins.h"
@@ -19826,14 +19827,15 @@ namespace {
19826
19827
// TreeTransforms rebuilding the type in a new context. Rather than
19827
19828
// duplicating the TreeTransform logic, we should consider reusing it here.
19828
19829
// Currently that causes problems when rebuilding LambdaExprs.
19829
- class MarkReferencedDecls final : public DynamicRecursiveASTVisitor {
19830
+ class MarkReferencedDecls final
19831
+ : public RecursiveASTVisitor<MarkReferencedDecls> {
19830
19832
Sema &S;
19831
19833
SourceLocation Loc;
19832
19834
19833
19835
public:
19834
19836
MarkReferencedDecls(Sema &S, SourceLocation Loc) : S(S), Loc(Loc) {}
19835
19837
19836
- bool TraverseTemplateArgument(const TemplateArgument &Arg) override ;
19838
+ bool TraverseTemplateArgument(const TemplateArgument &Arg);
19837
19839
};
19838
19840
}
19839
19841
@@ -19851,7 +19853,7 @@ bool MarkReferencedDecls::TraverseTemplateArgument(
19851
19853
}
19852
19854
}
19853
19855
19854
- return DynamicRecursiveASTVisitor ::TraverseTemplateArgument(Arg);
19856
+ return RecursiveASTVisitor ::TraverseTemplateArgument(Arg);
19855
19857
}
19856
19858
19857
19859
void Sema::MarkDeclarationsReferencedInType(SourceLocation Loc, QualType T) {
You can’t perform that action at this time.
0 commit comments