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

-Werror=unused-function

Change-Id: I411a134daef6ad061ab54b300e379b882395905b
üst 8aeb8825
......@@ -57,8 +57,10 @@ public:
private:
void checkForFunctionDecl(Expr const*, bool bCheckOnly = false);
#if 0
bool rewrite(SourceLocation);
bool checkOverlap(SourceRange);
#endif
bool isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation* pLoc = nullptr);
std::set<FunctionDecl const*> m_addressOfSet;
......@@ -326,6 +328,7 @@ bool SalCall::isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation
return true;
}
#if 0
bool SalCall::rewrite(SourceLocation locBegin)
{
if (!rewriter)
......@@ -363,6 +366,7 @@ bool SalCall::checkOverlap(SourceRange range)
mvModifiedRanges.emplace_back(p1, p2);
return true;
}
#endif
static loplugin::Plugin::Registration<SalCall> reg("salcall", true);
}
......
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