[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Tue Apr 15 06:42:40 PDT 2014


 compilerplugins/clang/store/salbool.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b2ecb3485b6d9b20f752137d4504cb9bb3506a21
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 15 15:42:00 2014 +0200

    Better be specific
    
    Change-Id: Ibb9b5b8f53ab8fdeba6d3db295339ead4bde7b6e

diff --git a/compilerplugins/clang/store/salbool.cxx b/compilerplugins/clang/store/salbool.cxx
index 85790bd..a8f1d21 100644
--- a/compilerplugins/clang/store/salbool.cxx
+++ b/compilerplugins/clang/store/salbool.cxx
@@ -509,7 +509,6 @@ bool SalBool::isInUnoIncludeFile(SourceLocation spellingLocation) const {
            || name == SRCDIR "/cppuhelper/source/compat.cxx"
            || name == SRCDIR "/sal/osl/all/compat.cxx")
         : (name.startswith(SRCDIR "/include/com/")
-           || name.startswith(SRCDIR "/include/comphelper/")
            || name.startswith(SRCDIR "/include/cppu/")
            || name.startswith(SRCDIR "/include/cppuhelper/")
            || name.startswith(SRCDIR "/include/osl/")
@@ -518,7 +517,8 @@ bool SalBool::isInUnoIncludeFile(SourceLocation spellingLocation) const {
            || name.startswith(SRCDIR "/include/salhelper/")
            || name.startswith(SRCDIR "/include/systools/")
            || name.startswith(SRCDIR "/include/typelib/")
-           || name.startswith(SRCDIR "/include/uno/"));
+           || name.startswith(SRCDIR "/include/uno/")
+           || name == SRCDIR "/include/comphelper/implbase_var.hxx");
 }
 
 bool SalBool::isInSpecialMainFile(SourceLocation spellingLocation) const {


More information about the Libreoffice-commits mailing list