Clean away temporarily added using declarations

Change-Id: I26734c13515394162d88351a1cbe2b20abdac865
This commit is contained in:
Stephan Bergmann
2017-11-07 11:50:47 +01:00
parent 07b8711526
commit b35bb38f18
86 changed files with 160 additions and 106 deletions

View File

@@ -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;
}