aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/patch/git.go
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-09-17 16:28:41 +0100
committerIain Sandoe <iain@sandoe.co.uk>2025-10-01 22:38:59 +0100
commitf2d9f6635e33ddcc1999fceb1b025635e1b646f9 (patch)
tree72392e0823243c1a0b42556c4eaf80188ddf771b /libgo/go/patch/git.go
parentc866a8a88242833f64fe25e04e4ad4c097daec34 (diff)
downloadgcc-f2d9f6635e33ddcc1999fceb1b025635e1b646f9.zip
gcc-f2d9f6635e33ddcc1999fceb1b025635e1b646f9.tar.gz
gcc-f2d9f6635e33ddcc1999fceb1b025635e1b646f9.tar.bz2
c++, contracts: Abstract interfaces to constexpr [NFC].
We want to move to having different representations of the contract semantic for C++26, since that wants values outside the range that can be accommodated using the cxx2a mechanisms. First part, abstract the interfaces to constexpr, so that they do not see the underlying source of data. gcc/cp/ChangeLog: * constexpr.cc (cxx_eval_constant_expression): Use revised interfaces to determine if contracts are ignored and, if not, whether they are evaluated. * contracts.h (contract_ignored_p, contract_evaluated_p): New. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'libgo/go/patch/git.go')
0 files changed, 0 insertions, 0 deletions