Kaydet (Commit) d206ddf6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Adapt new code to getLocStart rename

Change-Id: I96cabd351e06de6b3e728c456bd05156572822c9
üst 013c278d
......@@ -109,7 +109,7 @@ public:
explicit FilteringPlugin( const InstantiationData& data ) : Plugin(data) {}
bool TraverseNamespaceDecl(NamespaceDecl * decl) {
if (ignoreLocation(decl->getLocStart()))
if (ignoreLocation(compat::getBeginLoc(decl)))
return true;
return RecursiveASTVisitor<Derived>::TraverseNamespaceDecl(decl);
}
......@@ -247,7 +247,7 @@ public:
explicit FilteringRewritePlugin( const InstantiationData& data ) : RewritePlugin(data) {}
bool TraverseNamespaceDecl(NamespaceDecl * decl) {
if (ignoreLocation(decl->getLocStart()))
if (ignoreLocation(compat::getBeginLoc(decl)))
return true;
return RecursiveASTVisitor<Derived>::TraverseNamespaceDecl(decl);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment