diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-22 09:19:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-22 09:19:00 +0100 |
commit | 4a591d74a7f73f3e381c9ddb8bbeda3d41647364 (patch) | |
tree | 5d0f9ffc9b9a11d022bb444e73559de1bfbec3cf | |
parent | c74688dfd40351cead1644d8cfe9dad4622d9edc (diff) |
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
-rw-r--r-- | compilerplugins/clang/check.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/check.cxx b/compilerplugins/clang/check.cxx index 43a7edf2bef4..22f58ebd7ac9 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 { |