c++: use iloc_sentinel in another place
commit17dc903ed36ea0b6189d66a36d36e0c5ab803a7b
authorJason Merrill <jason@redhat.com>
Sat, 28 Aug 2021 02:59:48 +0000 (27 22:59 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 31 Aug 2021 16:17:44 +0000 (31 12:17 -0400)
tree4a9758123a645db88cb7e1437474357416455471
parent9aeadd8c319d5d940fa4dc91a393fc2959d27719
c++: use iloc_sentinel in another place

Another place we can use iloc_sentinel instead of explicitly saving and
restoring input_location.

gcc/cp/ChangeLog:

* constexpr.c (explain_invalid_constexpr_fn): Use iloc_sentinel.
gcc/cp/constexpr.c