9421c31b5a
Delete stub "compiler-type_traits.h" header. Redirect all uses to the standard <type_traits> header. git grep -wlz 'compiler-type_traits.h' -- '*.cpp' '*.h' | xargs -0 perl -p -i <<EOF BEGIN { $i = 0; } if (($i == 1 && $_ eq "\n") || ($i < 2 && /^#include "/)) { # First blank line or first user-include after a system-include. # Print, then never again for this file. print "#include <type_traits>\n"; $i = 2; } elsif ($i == 0) { $i = 1 if (/^#include </); } elsif ($_ eq "#include \"compiler-type_traits.h\"\n") { # Remove this line if found. $_ = ''; } # Reset state machine when moving to next file. $i = 0 if eof; EOF |
||
---|---|---|
.. | ||
carbon | ||
cocoa | ||
ogl | ||
sdl | ||
win32 |