From: Paolo Carlini Date: Tue, 11 Dec 2018 17:47:47 +0000 (+0000) Subject: decl.c (grokvardecl): Add location_t parameter and use it in build_lang_decl_loc... X-Git-Tag: upstream/12.2.0~27402 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f214a6415ad5f2a2124b94b7c4abcfe04861595f;p=platform%2Fupstream%2Fgcc.git decl.c (grokvardecl): Add location_t parameter and use it in build_lang_decl_loc and build_decl calls. /cp 2018-12-11 Paolo Carlini * decl.c (grokvardecl): Add location_t parameter and use it in build_lang_decl_loc and build_decl calls. (grokdeclarator): Move up loc declaration and use it in the grokvardecl call too. /testsuite 2018-12-11 Paolo Carlini * g++.dg/pr53037-4.C: Test the first two locations too. From-SVN: r267028 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 50b8c5a..3e31ba6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,6 +1,6 @@ 2018-12-11 Paolo Carlini - * decl2.c (grokvardecl): Add location_t parameter and use it + * decl.c (grokvardecl): Add location_t parameter and use it in build_lang_decl_loc and build_decl calls. (grokdeclarator): Move up loc declaration and use it in the grokvardecl call too.