gcc/libstdc++-v3/libsupc++
Jim Meyering 046957830e remove useless if-before-free tests
Change "if (E) free (E);" to "free (E);" everywhere except in the
libgo/, intl/, zlib/ and classpath/ directories.
Also transform equivalent variants like
"if (E != NULL) free (E);" and allow an extra cast on the
argument to free.  Otherwise, the tested and freed "E"
expressions must be identical, modulo white space.

From-SVN: r172785
2011-04-20 18:19:03 +00:00
..
array_type_info.cc
atexit_arm.cc
bad_alloc.cc re PR libstdc++/44647 (std::nothrow and std::bad_alloc are coupled) 2010-10-05 09:41:57 +00:00
bad_cast.cc
bad_typeid.cc
class_type_info.cc
cxxabi_forced.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
cxxabi.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
del_op.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
del_opnt.cc remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
del_opv.cc
del_opvnt.cc
dyncast.cc
eh_alloc.cc
eh_arm.cc Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
eh_aux_runtime.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_call.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_catch.cc
eh_exception.cc
eh_globals.cc
eh_personality.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_ptr.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_term_handler.cc
eh_terminate.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_throw.cc
eh_type.cc
eh_unex_handler.cc
enum_type_info.cc
exception PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
exception_defines.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
exception_ptr.h exception_ptr.h needs the forward declaration because it's included from... 2011-03-31 23:56:01 +00:00
function_type_info.cc
fundamental_type_info.cc
guard_error.cc re PR libstdc++/43863 (Unused recursive_init_error class defined with -fno-exceptions) 2011-02-09 23:22:27 +00:00
guard.cc re PR libstdc++/43863 (Unused recursive_init_error class defined with -fno-exceptions) 2011-02-09 23:22:27 +00:00
hash_bytes.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hash_bytes.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
initializer_list initializer_list: Decorate with constexpr. 2010-11-01 21:31:50 -04:00
Makefile.am Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
Makefile.in Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
nested_exception.cc re PR libstdc++/48130 (build fails on libsupc++/nested_exception.cc) 2011-03-15 06:19:08 +00:00
nested_exception.h exception_ptr.h needs the forward declaration because it's included from... 2011-03-31 23:56:01 +00:00
new
new_handler.cc re PR libstdc++/44647 (std::nothrow and std::bad_alloc are coupled) 2010-10-05 09:41:57 +00:00
new_op.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
new_opnt.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
new_opv.cc
new_opvnt.cc
pbase_type_info.cc
pmem_type_info.cc
pointer_type_info.cc
pure.cc
si_class_type_info.cc
tinfo2.cc
tinfo.cc
tinfo.h
typeinfo re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
unwind-cxx.h
vec.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
vmi_class_type_info.cc
vterminate.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00