HomePhabricator

[CFG] Provide construction contexts for functional cast-like constructors.

Authored by dergachev.a on Feb 23 2018, 6:05 PM.

Description

[CFG] Provide construction contexts for functional cast-like constructors.

When a constructor of a temporary with a single argument is treated
as a functional cast expression, skip the functional cast expression
and provide the correct construction context for the temporary.

Differential Revision: https://reviews.llvm.org/D43480

llvm-svn: 326015