mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[Polly] Fix compiler warnings. NFC.
This commit is contained in:
parent
b61359f92b
commit
5a6d770651
@ -47,18 +47,10 @@ static bool operator==(const isl::space &LHS, const isl::space &RHS) {
|
||||
return bool(LHS.is_equal(RHS));
|
||||
}
|
||||
|
||||
static bool operator==(const isl::basic_set &LHS, const isl::basic_set &RHS) {
|
||||
return bool(LHS.is_equal(RHS));
|
||||
}
|
||||
|
||||
static bool operator==(const isl::set &LHS, const isl::set &RHS) {
|
||||
return bool(LHS.is_equal(RHS));
|
||||
}
|
||||
|
||||
static bool operator==(const isl::basic_map &LHS, const isl::basic_map &RHS) {
|
||||
return bool(LHS.is_equal(RHS));
|
||||
}
|
||||
|
||||
static bool operator==(const isl::map &LHS, const isl::map &RHS) {
|
||||
return bool(LHS.is_equal(RHS));
|
||||
}
|
||||
@ -1142,9 +1134,9 @@ TEST(Isl, Quota) {
|
||||
EXPECT_TRUE(BoolResult.is_error());
|
||||
EXPECT_FALSE(BoolResult.is_false());
|
||||
EXPECT_FALSE(BoolResult.is_true());
|
||||
EXPECT_DEATH((bool)BoolResult,
|
||||
EXPECT_DEATH((void)(bool)BoolResult,
|
||||
"IMPLEMENTATION ERROR: Unhandled error state");
|
||||
EXPECT_DEATH((bool)!BoolResult,
|
||||
EXPECT_DEATH((void)(bool)!BoolResult,
|
||||
"IMPLEMENTATION ERROR: Unhandled error state");
|
||||
EXPECT_DEATH(
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user