Skip to content

Commit d28c72c

Browse files
committed
remove else
1 parent 453328c commit d28c72c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/include/llvm/IR/PassManagerInternal.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ struct PassModel : PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...> {
145145
bool isEmpty() const override {
146146
if constexpr (is_detected<has_is_empty_t, PassT>::value)
147147
return Pass.isEmpty();
148-
else
149-
return false;
148+
return false;
150149
}
151150

152151
PassT Pass;

0 commit comments

Comments
 (0)