Kaydet (Commit) 33162028 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

implicitboolconversion: support for Objective C BOOL

Change-Id: Id63f42fa8875211af9f41c21f3fa128403f8a880
üst fa4afe02
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment