loplugin:cstylecast: No need to exclude include/cppuhelper

Change-Id: Ie74be926c1e071fa9b311920b1cf1d4dd5bbd30d
This commit is contained in:
Stephan Bergmann
2015-01-07 20:25:52 +01:00
parent c0b938b0a1
commit 61e02d6ffc

View File

@@ -96,11 +96,6 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
if ( filename.endswith(".h") ) {
return true;
}
if (!compat::isInMainFile(compiler.getSourceManager(), spellingLocation)
&& filename.startswith(SRCDIR "/include/cppuhelper/"))
{
return true;
}
report(
DiagnosticsEngine::Warning,
"c-style cast, type=%0, from=%1%2, to=%3%4, recommendedFix=%5",