Clean away temporarily added using declarations
Change-Id: I26734c13515394162d88351a1cbe2b20abdac865
This commit is contained in:
@@ -59,7 +59,8 @@ class ExpandableMethods:
|
||||
public RecursiveASTVisitor<ExpandableMethods>, public loplugin::Plugin
|
||||
{
|
||||
public:
|
||||
explicit ExpandableMethods(InstantiationData const & data): Plugin(data) {}
|
||||
explicit ExpandableMethods(loplugin::InstantiationData const & data):
|
||||
Plugin(data) {}
|
||||
|
||||
virtual void run() override
|
||||
{
|
||||
@@ -164,7 +165,7 @@ std::string ExpandableMethods::toString(SourceLocation loc)
|
||||
SourceLocation expansionLoc = compiler.getSourceManager().getExpansionLoc( loc );
|
||||
StringRef name = compiler.getSourceManager().getFilename(expansionLoc);
|
||||
std::string sourceLocation = std::string(name.substr(strlen(SRCDIR)+1)) + ":" + std::to_string(compiler.getSourceManager().getSpellingLineNumber(expansionLoc));
|
||||
normalizeDotDotInFilePath(sourceLocation);
|
||||
loplugin::normalizeDotDotInFilePath(sourceLocation);
|
||||
return sourceLocation;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user