Kaydet (Commit) 61e02d6f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: No need to exclude include/cppuhelper

Change-Id: Ie74be926c1e071fa9b311920b1cf1d4dd5bbd30d
üst c0b938b0
......@@ -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",
......
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