Ver Fonte

[Driver] Remove `else` after `return`

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250043 91177308-0d34-0410-b5e6-96231b3b80d8
Simon Atanasyan há 10 anos atrás
pai
commit
41af455f5e
1 ficheiros alterados com 2 adições e 3 exclusões
  1. 2 3
      lib/Driver/Multilib.cpp

+ 2 - 3
lib/Driver/Multilib.cpp

@@ -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;
 }