diff options
author | Marek Polacek <polacek@redhat.com> | 2019-03-28 18:23:18 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-03-28 18:23:18 +0000 |
commit | c91b27155288e9869fc8345c689f7f6b90b0ee7e (patch) | |
tree | f27feea1b40cd6810496a8e21ebfb9e94cd223ab /gcc/tree-inline.c | |
parent | bb15c8b7f76f90ebcf234e4c772a0e21346ef301 (diff) | |
download | gcc-c91b27155288e9869fc8345c689f7f6b90b0ee7e.zip gcc-c91b27155288e9869fc8345c689f7f6b90b0ee7e.tar.gz gcc-c91b27155288e9869fc8345c689f7f6b90b0ee7e.tar.bz2 |
PR c++/89836 - bool constant expression and explicit conversions.
* call.c (build_converted_constant_expr_internal): New function,
renamed from...
(build_converted_constant_expr): ...this. New.
(build_converted_constant_bool_expr): New.
* cp-tree.h (build_converted_constant_bool_expr): Declare.
* decl.c (build_explicit_specifier): Call
build_converted_constant_bool_expr.
* g++.dg/cpp2a/explicit15.C: New test.
From-SVN: r270002
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions