git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237513
91177308-0d34-0410-b5e6-
96231b3b80d8
break;
}
case EMPTY: {
- if (ListInit *LHSl = dyn_cast<ListInit>(LHS)) {
- return IntInit::get(!!LHSl->empty());
- }
- if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) {
- return IntInit::get(!!LHSs->getValue().empty());
- }
+ if (ListInit *LHSl = dyn_cast<ListInit>(LHS))
+ return IntInit::get(LHSl->empty());
+ if (StringInit *LHSs = dyn_cast<StringInit>(LHS))
+ return IntInit::get(LHSs->getValue().empty());
break;
}