Skip to content

Commit f340ab4

Browse files
committed
Respond to upstream change in clang r253949.
1 parent 7f47041 commit f340ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/GenClangDecl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "IRGenModule.h"
1414
#include "clang/AST/Decl.h"
1515
#include "clang/AST/DeclGroup.h"
16-
#include "clang/AST/DataRecursiveASTVisitor.h"
16+
#include "clang/AST/RecursiveASTVisitor.h"
1717
#include "clang/CodeGen/ModuleBuilder.h"
1818
#include "llvm/ADT/SmallPtrSet.h"
1919

@@ -22,7 +22,7 @@ using namespace irgen;
2222

2323
namespace {
2424
class ClangDeclRefFinder
25-
: public clang::DataRecursiveASTVisitor<ClangDeclRefFinder> {
25+
: public clang::RecursiveASTVisitor<ClangDeclRefFinder> {
2626
std::function<void(const clang::DeclRefExpr *)> callback;
2727
public:
2828
template <typename Fn>

0 commit comments

Comments
 (0)