summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-15 15:42:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-15 15:42:00 +0200
commitb2ecb3485b6d9b20f752137d4504cb9bb3506a21 (patch)
treec3b86ddb4acd5012e75204211ff65e54d79efc9d /compilerplugins/clang
parent329332ba526983c1d64763f61df2940e6bcb7d8a (diff)
Better be specific
Change-Id: Ibb9b5b8f53ab8fdeba6d3db295339ead4bde7b6e
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/store/salbool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/store/salbool.cxx b/compilerplugins/clang/store/salbool.cxx
index 85790bd37482..a8f1d21f21b8 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 {