[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Thu Dec 22 08:20:28 UTC 2016
compilerplugins/clang/check.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 4a591d74a7f73f3e381c9ddb8bbeda3d41647364
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Dec 22 09:19:00 2016 +0100
Some more bool-like types for Windows/clang-cl
"TW_BOOL" seen e.g. in extensions/source/scanner/scanwin.cxx
"boolean" seen e.g. in extensions/source/activex/SOActionsApproval.h
Change-Id: I78281cd4f92c3e0c0d885cc2466665a06f5bcd85
diff --git a/compilerplugins/clang/check.cxx b/compilerplugins/clang/check.cxx
index 43a7edf..22f58eb 100644
--- a/compilerplugins/clang/check.cxx
+++ b/compilerplugins/clang/check.cxx
@@ -78,9 +78,9 @@ TerminalCheck TypeCheck::AnyBoolean() const {
auto n =t->getDecl()->getName();
return TerminalCheck(
n == "sal_Bool" || n == "BOOL" || n == "Boolean" || n == "FT_Bool"
- || n == "FcBool" || n == "GLboolean" || n == "NPBool" || n == "UBool"
- || n == "dbus_bool_t" || n == "gboolean" || n == "hb_bool_t"
- || n == "jboolean");
+ || n == "FcBool" || n == "GLboolean" || n == "NPBool" || n == "TW_BOOL"
+ || n == "UBool" || n == "boolean" || n == "dbus_bool_t"
+ || n == "gboolean" || n == "hb_bool_t" || n == "jboolean");
}
TypeCheck TypeCheck::LvalueReference() const {
More information about the Libreoffice-commits
mailing list