r250043 - [Driver] Remove `else` after `return`
Simon Atanasyan via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 12 07:32:57 PDT 2015
Author: atanasyan
Date: Mon Oct 12 09:32:57 2015
New Revision: 250043
URL: http://llvm.org/viewvc/llvm-project?rev=250043&view=rev
Log:
[Driver] Remove `else` after `return`
Modified:
cfe/trunk/lib/Driver/Multilib.cpp
Modified: cfe/trunk/lib/Driver/Multilib.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Multilib.cpp?rev=250043&r1=250042&r2=250043&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Multilib.cpp (original)
+++ cfe/trunk/lib/Driver/Multilib.cpp Mon Oct 12 09:32:57 2015
@@ -260,16 +260,15 @@ bool MultilibSet::select(const Multilib:
return false;
}, Multilibs);
- if (Filtered.size() == 0) {
+ if (Filtered.size() == 0)
return false;
- } else if (Filtered.size() == 1) {
+ if (Filtered.size() == 1) {
M = Filtered[0];
return true;
}
// TODO: pick the "best" multlib when more than one is suitable
assert(false);
-
return false;
}
More information about the cfe-commits
mailing list