Kaydet (Commit) 742f030d authored tarafından Noel Grandin's avatar Noel Grandin

update constantfunction loplugin

didn't find anything useful, so just updating the exclusion lists

Change-Id: I66d37aee185290f454e5ac0baeafd1f67bfaf106
Reviewed-on: https://gerrit.libreoffice.org/39254Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst ac2d415a
...@@ -423,6 +423,30 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) { ...@@ -423,6 +423,30 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if (aFunctionName == "doc_getTileMode") { if (aFunctionName == "doc_getTileMode") {
return true; return true;
} }
// apparently this will be useful at sometime in the future
if (aFunctionName == "LocaleDataWrapper::getCurrZeroChar") {
return true;
}
// marked with TODO
if (aFunctionName == "oglcanvas::TextLayout::draw") {
return true;
}
// called from the .sdi files
if (aFunctionName == "SfxObjectShell::StateView_Impl") {
return true;
}
// gtk callback
if (aFunctionName == "GtkSalFrame::signalVisibility") {
return true;
}
// platform-version-dependent code
if (aFunctionName == "(anonymous namespace)::ACTIVE_TAB") {
return true;
}
// SMIL callbacks
if (aFunctionName == "boost::sp_scalar_constructor_hook" || aFunctionName == "boost::sp_scalar_destructor_hook") {
return 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