fix compile of salcall plugin
changes from sberg and myself crossed paths in the night Change-Id: I2606902f84739e552b2aad292e63e7b8e6757965
This commit is contained in:
parent
eff7034719
commit
720cc05a76
@ -57,10 +57,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void checkForFunctionDecl(Expr const*, bool bCheckOnly = false);
|
void checkForFunctionDecl(Expr const*, bool bCheckOnly = false);
|
||||||
#if 0
|
|
||||||
bool rewrite(SourceLocation);
|
bool rewrite(SourceLocation);
|
||||||
bool checkOverlap(SourceRange);
|
bool checkOverlap(SourceRange);
|
||||||
#endif
|
|
||||||
bool isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation* pLoc = nullptr);
|
bool isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation* pLoc = nullptr);
|
||||||
|
|
||||||
std::set<FunctionDecl const*> m_addressOfSet;
|
std::set<FunctionDecl const*> m_addressOfSet;
|
||||||
@ -311,7 +309,6 @@ bool SalCall::isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
bool SalCall::rewrite(SourceLocation locBegin)
|
bool SalCall::rewrite(SourceLocation locBegin)
|
||||||
{
|
{
|
||||||
if (!rewriter)
|
if (!rewriter)
|
||||||
@ -353,7 +350,6 @@ bool SalCall::checkOverlap(SourceRange range)
|
|||||||
mvModifiedRanges.emplace_back(p1, p2);
|
mvModifiedRanges.emplace_back(p1, p2);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static loplugin::Plugin::Registration<SalCall> reg("salcall", false);
|
static loplugin::Plugin::Registration<SalCall> reg("salcall", false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user