summaryrefslogtreecommitdiffstats
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-26 00:07:09 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-26 00:07:09 +0000
commitec965e9bf52315b4b79bea03cc86b7608aadb5fa (patch)
tree281a1acd47d7c8c8c2b28917010ced8fb26b4b98 /gcc/cp/cp-tree.h
parent754c06ac94e6ba7a8f0027e801b0eaa167739340 (diff)
downloadppe42-gcc-ec965e9bf52315b4b79bea03cc86b7608aadb5fa.tar.gz
ppe42-gcc-ec965e9bf52315b4b79bea03cc86b7608aadb5fa.zip
PR c++/10931
* g++.dg/expr/static_cast1.C: New test. PR c++/10931 * call.c (convert_like): Pass issue_conversion_warnings. (convert_like_with_context): Likewise. (convert_like_real): Add issue_conversion_warnings parameter. (perform_direct_initialization_if_possible): New function. * cp-tree.h (perform_direct_initialization_if_possible): Declare it. * typeck.c (check_for_casting_away_constness): New function. (build_static_cast): Rewrite. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 1527aa45a63..0e3a97115f4 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3525,6 +3525,7 @@ extern tree initialize_reference (tree, tree, tree);
extern tree make_temporary_var_for_ref_to_temp (tree, tree);
extern tree strip_top_quals (tree);
extern tree perform_implicit_conversion (tree, tree);
+extern tree perform_direct_initialization_if_possible (tree, tree);
extern tree in_charge_arg_for_name (tree);
extern tree build_cxx_call (tree, tree, tree);
OpenPOWER on IntegriCloud