[lld] r278462 - Remove excessive parentheses.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 20:25:26 PDT 2016


Author: ruiu
Date: Thu Aug 11 22:25:25 2016
New Revision: 278462

URL: http://llvm.org/viewvc/llvm-project?rev=278462&view=rev
Log:
Remove excessive parentheses.

Modified:
    lld/trunk/ELF/LinkerScript.cpp

Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=278462&r1=278461&r2=278462&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Thu Aug 11 22:25:25 2016
@@ -129,7 +129,7 @@ LinkerScript<ELFT>::getInputSections(con
           Ret.push_back(S);
   }
 
-  if ((llvm::find(Patterns, "COMMON") != Patterns.end()))
+  if (llvm::find(Patterns, "COMMON") != Patterns.end())
     Ret.push_back(CommonInputSection<ELFT>::X);
 
   return Ret;




More information about the llvm-commits mailing list