diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2019-10-07 15:37:52 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2019-10-07 15:37:52 +0000 |
commit | 132235c30fbb2f660e93d72578e95aeb3c7a932f (patch) | |
tree | 05dde3d801b7de601074260a0bb131024753a7bf /gcc/tree-if-conv.c | |
parent | dcd2ca63ec5c467decb70db983fc19a8329f67dc (diff) | |
download | gcc-132235c30fbb2f660e93d72578e95aeb3c7a932f.zip gcc-132235c30fbb2f660e93d72578e95aeb3c7a932f.tar.gz gcc-132235c30fbb2f660e93d72578e95aeb3c7a932f.tar.bz2 |
call.c (resolve_args): Use cp_expr_loc_or_input_loc in one place.
/cp
2019-10-07 Paolo Carlini <paolo.carlini@oracle.com>
* call.c (resolve_args): Use cp_expr_loc_or_input_loc in one place.
* decl.c (grokdeclarator): Use id_loc in one place.
* decl2.c (build_anon_union_vars): Use DECL_SOURCE_LOCATION.
* parser.c (cp_parser_delete_expression): Fix the location of the
returned expression.
(cp_parser_throw_expression): Likewise.
* pt.c (determine_specialization): Use DECL_SOURCE_LOCATION.
/testsuite
2019-10-07 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/diagnostic/not-a-function-template-1.C: New.
* g++.dg/template/crash107.C: Adjust expected location.
* g++.dg/template/dependent-expr1.C: Check locations.
* g++.dg/template/error17.C: Check location.
From-SVN: r276661
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions