[lld] r278834 - [Driver] Remove break after return. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 11:23:44 PDT 2016


Author: davide
Date: Tue Aug 16 13:23:44 2016
New Revision: 278834

URL: http://llvm.org/viewvc/llvm-project?rev=278834&view=rev
Log:
[Driver] Remove break after return. NFCI.

Modified:
    lld/trunk/lib/Driver/DarwinLdDriver.cpp

Modified: lld/trunk/lib/Driver/DarwinLdDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/DarwinLdDriver.cpp?rev=278834&r1=278833&r2=278834&view=diff
==============================================================================
--- lld/trunk/lib/Driver/DarwinLdDriver.cpp (original)
+++ lld/trunk/lib/Driver/DarwinLdDriver.cpp Tue Aug 16 13:23:44 2016
@@ -760,7 +760,6 @@ bool parse(llvm::ArrayRef<const char *>
       diagnostics << pie->getSpelling()
                   << " can only used when linking main executables\n";
       return false;
-      break;
     }
   }
 




More information about the llvm-commits mailing list