r314367 - [Targets/X86] Remove unneded `return` in setMaxAtomicWidth(). NFCI.

Davide Italiano via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 17:24:21 PDT 2017


Author: davide
Date: Wed Sep 27 17:24:20 2017
New Revision: 314367

URL: http://llvm.org/viewvc/llvm-project?rev=314367&view=rev
Log:
[Targets/X86] Remove unneded `return` in setMaxAtomicWidth(). NFCI.

Modified:
    cfe/trunk/lib/Basic/Targets/X86.h

Modified: cfe/trunk/lib/Basic/Targets/X86.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/X86.h?rev=314367&r1=314366&r2=314367&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/X86.h (original)
+++ cfe/trunk/lib/Basic/Targets/X86.h Wed Sep 27 17:24:20 2017
@@ -875,7 +875,6 @@ public:
   void setMaxAtomicWidth() override {
     if (hasFeature("cx16"))
       MaxAtomicInlineWidth = 128;
-    return;
   }
 
   ArrayRef<Builtin::Info> getTargetBuiltins() const override;




More information about the cfe-commits mailing list