compilerplugins/clang/cstylecast.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 61e02d6ffc477174d9797ea45a41cc50c955372b
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Jan 7 20:25:52 2015 +0100

    loplugin:cstylecast: No need to exclude include/cppuhelper
    
    Change-Id: Ie74be926c1e071fa9b311920b1cf1d4dd5bbd30d

diff --git a/compilerplugins/clang/cstylecast.cxx 
b/compilerplugins/clang/cstylecast.cxx
index 496fe90..5492dc4 100644
--- a/compilerplugins/clang/cstylecast.cxx
+++ b/compilerplugins/clang/cstylecast.cxx
@@ -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",
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to