tdf#94389 compilerplugins: clang 3.7.0

Fix errors that occur in build with clang 3.7.0

Change-Id: I0e8743f2b6a288d10b4e78e884ce34cfca4dd77c
Reviewed-on: https://gerrit.libreoffice.org/18738
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Daniel Robertson
2015-09-20 19:37:48 -04:00
committed by Stephan Bergmann
parent f09a91630c
commit ef779d339e
5 changed files with 7 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ bool isDerivedFrom(const CXXRecordDecl *decl, const char *pString) {
!decl->hasAnyDependentBases() &&
!compat::forallBases(
*decl,
#if __clang_major__ == 3 && __clang_minor__ < 7
#if __clang_major__ == 3 && __clang_minor__ <= 7
BaseCheckNotSubclass,
#else
[pString](const CXXRecordDecl *BaseDefinition) -> bool