summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/implicitboolconversion.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/compilerplugins/clang/implicitboolconversion.cxx b/compilerplugins/clang/implicitboolconversion.cxx
index 740f76724b60..b03a32e68a35 100644
--- a/compilerplugins/clang/implicitboolconversion.cxx
+++ b/compilerplugins/clang/implicitboolconversion.cxx
@@ -43,8 +43,9 @@ if(t1->isSpecificBuiltinType(BuiltinType::UChar))return true;
return false;
}
std::string name(t2->getDecl()->getNameAsString());
- return name == "sal_Bool" || name == "FcBool" || name == "UBool"
- || name == "dbus_bool_t" || name == "gboolean" || name == "hb_bool_t";
+ return name == "sal_Bool" || name == "BOOL" || name == "FcBool"
+ || name == "UBool" || name == "dbus_bool_t" || name == "gboolean"
+ || name == "hb_bool_t";
}
bool isBoolExpr(Expr const * expr) {