[compiler-rt] r248385 - Code cleanup based on post-commit review from Aaron Ballman.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 08:28:35 PDT 2015


Author: cbieneman
Date: Wed Sep 23 10:28:35 2015
New Revision: 248385

URL: http://llvm.org/viewvc/llvm-project?rev=248385&view=rev
Log:
Code cleanup based on post-commit review from Aaron Ballman.

Modified:
    compiler-rt/trunk/lib/builtins/atomic_flag_clear.c
    compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c

Modified: compiler-rt/trunk/lib/builtins/atomic_flag_clear.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_flag_clear.c?rev=248385&r1=248384&r2=248385&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_flag_clear.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_flag_clear.c Wed Sep 23 10:28:35 2015
@@ -22,7 +22,6 @@
 #undef atomic_flag_clear
 void atomic_flag_clear(volatile atomic_flag *object) {
   __c11_atomic_store(&(object)->_Value, 0, __ATOMIC_SEQ_CST);
-  return;
 }
 
 #endif

Modified: compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c?rev=248385&r1=248384&r2=248385&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c (original)
+++ compiler-rt/trunk/lib/builtins/atomic_flag_clear_explicit.c Wed Sep 23 10:28:35 2015
@@ -23,7 +23,6 @@
 void atomic_flag_clear_explicit(volatile atomic_flag *object,
                                 memory_order order) {
   __c11_atomic_store(&(object)->_Value, 0, order);
-  return;
 }
 
 #endif




More information about the llvm-commits mailing list