aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-09-13 10:01:29 -0400
committerPatrick Palka <ppalka@redhat.com>2022-09-13 10:01:29 -0400
commitfea6ae0e5d82c01680c788c77709076b9288d145 (patch)
treef4c441d4d42cd01b42d8f8a19ddaeb24cd90f9ce /gcc/tree-ssa.cc
parent441a4880cba0908e58a102b068095e4ac2bb46cc (diff)
downloadgcc-fea6ae0e5d82c01680c788c77709076b9288d145.zip
gcc-fea6ae0e5d82c01680c788c77709076b9288d145.tar.gz
gcc-fea6ae0e5d82c01680c788c77709076b9288d145.tar.bz2
c++: two-parameter version of cxx_constant_value
Since some callers need the complain parameter but not the object parameter, let's introduce and use an overload of cxx_constant_value that omits the latter. gcc/cp/ChangeLog: * cp-tree.h (cxx_constant_value): Define two-parameter version that omits the object parameter. * decl.cc (build_explicit_specifier): Omit NULL_TREE object argument to cxx_constant_value. * except.cc (build_noexcept_spec): Likewise. * pt.cc (expand_integer_pack): Likewise. (fold_targs_r): Likewise. * semantics.cc (finish_if_stmt_cond): Likewise.
Diffstat (limited to 'gcc/tree-ssa.cc')
0 files changed, 0 insertions, 0 deletions