summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp')
-rw-r--r--clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp b/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp
index a6ba92ea03b..33163c30e5d 100644
--- a/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp
+++ b/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp
@@ -18,7 +18,7 @@ namespace {
class AttrVisitor : public ExpectedLocationVisitor<AttrVisitor> {
public:
bool VisitMemberExpr(MemberExpr *ME) {
- Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart());
+ Match(ME->getMemberDecl()->getNameAsString(), ME->getBeginLoc());
return true;
}
bool VisitAttr(Attr *A) {
OpenPOWER on IntegriCloud