]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gimple-fold.h
Use variadic template functions for the gimple_build forwarders
authorRichard Biener <rguenther@suse.de>
Wed, 11 May 2022 12:53:37 +0000 (14:53 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 11 May 2022 13:44:31 +0000 (15:44 +0200)
commit684c97dd084b7a535deb400ab8b26b914d011c5c
tree8223bdcb6e8b0c9c63ac6dbf76e428903f377d7e
parent546c6210eb08f583ee4f53a0fd7886b6c958c7fa
Use variadic template functions for the gimple_build forwarders

The following consolidates the forwarders to gimple_build with
UNKNOWN_LOCATION by using two variadic template functions.  This
makes the code visually less disturbing and is in preparation
of adding more forwarders with different stmt insertion schemes.

2022-05-11  Richard Biener  <rguenther@suse.de>

* gimple-fold.h (gimple_build): Use variadic template
functions for the gimple_build API forwarders without
location_t argument.
gcc/gimple-fold.h