ng
look OK after testing completes?
OK.
-- >8 --
Subject: [PATCH] c++: Member initializer list diagnostic locations [PR94024]
This patch preserves the source locations of each node in a member
initializer list so that during processing of the list we can set
input_location appropriately
d attach it to a dummy
> > EMPTY_CLASS_EXPR
> > +within the TREE_TYPE of the list node. */
> > + TREE_TYPE (mem_initializer) = build0 (EMPTY_CLASS_EXPR, NULL_TREE);
> > + SET_EXPR_LOCATION (TREE_TYPE (mem_initializer),
> > +mak
On 8/3/20 10:14 AM, Patrick Palka wrote:
This patch preserves the source locations of each node in a member
initializer list so that during processing of the list we can set
input_location appropriately for generally more accurate diagnostic
locations. Since TREE_LIST nodes are tcc_exceptional,
This patch preserves the source locations of each node in a member
initializer list so that during processing of the list we can set
input_location appropriately for generally more accurate diagnostic
locations. Since TREE_LIST nodes are tcc_exceptional, they can't have
source locations, so we ins