]> git.ipfire.org Git - thirdparty/gcc.git/commit
gimple: Remove custom remove_pointer
authorAndrew Pinski <quic_apinski@quicinc.com>
Sun, 22 Sep 2024 19:26:02 +0000 (19:26 +0000)
committerAndrew Pinski <quic_apinski@quicinc.com>
Mon, 23 Sep 2024 07:45:50 +0000 (00:45 -0700)
commit2cd76720c1584b55b05570894f602f05f1fc48ec
treec63b63c52cf15d5a265e170d9c35a02d2325bd05
parent0d68bfe2bff7e7022e173bedfb918b796d3cb0af
gimple: Remove custom remove_pointer

Since r11-2700-g22dc89f8073cd0, type_traits has been included via system.h so
we don't need a custom version for gimple.h.

Note a small C++14 cleanup is to use remove_pointer_t directly here instead
of remove_pointer<t>::type.

bootstrapped and tested on x86_64-linux-gnu

gcc/ChangeLog:

* gimple.h (remove_pointer): Remove.
(GIMPLE_CHECK2): Use std::remove_pointer instead of custom one.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/gimple.h