]> granicus.if.org Git - clang/commitdiff
[Driver] Remove `else` after `return`
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 12 Oct 2015 14:32:57 +0000 (14:32 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 12 Oct 2015 14:32:57 +0000 (14:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250043 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Multilib.cpp

index 8acda6794d7296de201cabd72467e9ff65d820bf..34ad6a7efb2469bc85780cd044f9ab602d8174ca 100644 (file)
@@ -260,16 +260,15 @@ bool MultilibSet::select(const Multilib::flags_list &Flags, Multilib &M) const {
     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;
 }