diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-03-01 21:14:00 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-03-01 21:14:00 +0000 |
commit | c582aac943fe2574a03cb5f557a3ee1e5d6585f1 (patch) | |
tree | ef52272f484a2478ef4bd8ecdfd176588c6d1e78 /gcc/cp/error.c | |
parent | fe96264ffc4bbbe1516f9c59cb2d4a689fbf5f24 (diff) | |
download | gcc-c582aac943fe2574a03cb5f557a3ee1e5d6585f1.zip gcc-c582aac943fe2574a03cb5f557a3ee1e5d6585f1.tar.gz gcc-c582aac943fe2574a03cb5f557a3ee1e5d6585f1.tar.bz2 |
method.c (implicitly_declare_fn): Remove redundant DECL_TEMPLATE_RESULT and STRIP_TEMPLATE uses.
/cp
2014-03-01 Paolo Carlini <paolo.carlini@oracle.com>
* method.c (implicitly_declare_fn): Remove redundant
DECL_TEMPLATE_RESULT and STRIP_TEMPLATE uses.
* semantics.c (is_instantiation_of_constexpr): Likewise.
* error.c (dump_function_decl): Likewise.
2014-03-01 Paolo Carlini <paolo.carlini@oracle.com>
* dwarf2out.c (gen_subprogram_die): Tidy.
From-SVN: r208248
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 050791c..454feb5 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1465,7 +1465,7 @@ dump_function_decl (cxx_pretty_printer *pp, tree t, int flags) else if (DECL_VIRTUAL_P (t)) pp_cxx_ws_string (pp, "virtual"); - if (DECL_DECLARED_CONSTEXPR_P (STRIP_TEMPLATE (t))) + if (DECL_DECLARED_CONSTEXPR_P (t)) pp_cxx_ws_string (pp, "constexpr"); } |