This is an archive of the discontinued LLVM Phabricator instance.

[CFG] [analyzer] Add construction context for implicit constructor conversions.
ClosedPublic

Authored by NoQ on Mar 2 2018, 4:06 PM.

Details

Summary

Implicit constructor conversions such as A a = B() are represented by surrounding the constructor for B() with an ImplicitCastExpr of CK_ConstructorConversion kind, similarly to how explicit constructor conversions are surrounded by a CXXFunctionalCastExpr. Support this syntax pattern in when understanding the construction context for the implicit constructor that performs the conversion.

Diff Detail

Repository
rL LLVM

Event Timeline

NoQ created this revision.Mar 2 2018, 4:06 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 8 2018, 5:42 PM
This revision was automatically updated to reflect the committed changes.