[cfe-dev] Detect if a CXXConstructExpr is implicit

Stephen Kelly via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 18 12:29:49 PST 2019


On 12/02/2019 16:44, Loïc Joly via cfe-dev wrote:

> The generated AST contains nodes about object construction that are 
> implicit (the copy constructor for 1, the conversion then the copy 
> constructor for 2).

If it's useful, I have plans to upstream changes such that you can print 
and AST-match on code like this while eliding invisible AST nodes. See:

  http://ec2-18-191-7-3.us-east-2.compute.amazonaws.com:10240/z/PlPx1d

Thanks,

Stephen.




More information about the cfe-dev mailing list