Re: Implict casts disappeared from syntactic init list expressions in C++

2015-10-30 Thread Abramo Bagnara via cfe-commits
Ping (I still need your feedback so that I can open a properly documented issue on bugzilla). Il 09/10/2015 09:58, Abramo Bagnara ha scritto: > Il 08/10/2015 23:36, Richard Smith ha scritto: >> There are some other open problems in this area: >> >> - RecursiveASTVisitor on nested InitListExprs is

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-10-09 Thread Abramo Bagnara via cfe-commits
Il 08/10/2015 23:36, Richard Smith ha scritto: > There are some other open problems in this area: > > - RecursiveASTVisitor on nested InitListExprs is currently worst-case > exponential time because it walks the syntactic and semantic forms > separately > - Tools such as "find all references to th

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-10-08 Thread Richard Smith via cfe-commits
There are some other open problems in this area: - RecursiveASTVisitor on nested InitListExprs is currently worst-case exponential time because it walks the syntactic and semantic forms separately - Tools such as "find all references to this function" need the semantic form of every initializer, w

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-10-07 Thread Abramo Bagnara via cfe-commits
Ping^2 Il 12/09/2015 09:40, Abramo Bagnara ha scritto: > Ping... > > Il 29/08/2015 10:01, Abramo Bagnara ha scritto: >> Il 28/08/2015 23:27, Richard Smith ha scritto: >>> On Tue, Aug 25, 2015 at 10:27 AM, Abramo Bagnara >>> mailto:abramo.bagn...@bugseng.com>> wrote: >>> >>> Comparing the resu

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-09-22 Thread Abramo Bagnara via cfe-commits
Ping^2... Il 29/08/2015 10:01, Abramo Bagnara ha scritto: > Il 28/08/2015 23:27, Richard Smith ha scritto: >> On Tue, Aug 25, 2015 at 10:27 AM, Abramo Bagnara >> mailto:abramo.bagn...@bugseng.com>> wrote: >> >> Comparing the result of InitListExpr::getSyntacticForm between r224986 >> and r

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-09-12 Thread Abramo Bagnara via cfe-commits
Ping... Il 29/08/2015 10:01, Abramo Bagnara ha scritto: > Il 28/08/2015 23:27, Richard Smith ha scritto: >> On Tue, Aug 25, 2015 at 10:27 AM, Abramo Bagnara >> mailto:abramo.bagn...@bugseng.com>> wrote: >> >> Comparing the result of InitListExpr::getSyntacticForm between r224986 >> and r24

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-08-29 Thread Abramo Bagnara via cfe-commits
Il 28/08/2015 23:27, Richard Smith ha scritto: > On Tue, Aug 25, 2015 at 10:27 AM, Abramo Bagnara > mailto:abramo.bagn...@bugseng.com>> wrote: > > Comparing the result of InitListExpr::getSyntacticForm between r224986 > and r245836 I've discovered that integer to char implicit cast for >

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-08-28 Thread Richard Smith via cfe-commits
On Tue, Aug 25, 2015 at 10:27 AM, Abramo Bagnara wrote: > Comparing the result of InitListExpr::getSyntacticForm between r224986 > and r245836 I've discovered that integer to char implicit cast for > integer literal 3 is no longer added to AST for C++ (while it is present > in C). > > This is the

Re: Implict casts disappeared from syntactic init list expressions in C++

2015-08-28 Thread Abramo Bagnara via cfe-commits
Ping. Il 25/08/2015 19:27, Abramo Bagnara ha scritto: > Comparing the result of InitListExpr::getSyntacticForm between r224986 > and r245836 I've discovered that integer to char implicit cast for > integer literal 3 is no longer added to AST for C++ (while it is present > in C). > > This is the s

Implict casts disappeared from syntactic init list expressions in C++

2015-08-25 Thread Abramo Bagnara via cfe-commits
Comparing the result of InitListExpr::getSyntacticForm between r224986 and r245836 I've discovered that integer to char implicit cast for integer literal 3 is no longer added to AST for C++ (while it is present in C). This is the source used to test: char v[10] = { 3 }; Taken in account that: -