Changes

Summary

  1. [analyzer] Correctly propagate ConstructionContextLayer thru ParenExpr (details)
Commit 058f384ae94ae0ac94441043804e4a25d338d483 by balazs.benics
[analyzer] Correctly propagate ConstructionContextLayer thru ParenExpr

Previously, information about `ConstructionContextLayer` was not
propagated thru causing the expression like:

  Var c = (createVar());

To produce unrelated temporary for the `createVar()` result and conjure
a new symbol for the value of `c` in C++17 mode.

Reviewed By: steakhal

Patch By: tomasz-kaminski-sonarsource!

Differential Revision: https://reviews.llvm.org/D102835
The file was modifiedclang/test/Analysis/NewDelete-checker-test.cpp
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/test/Analysis/Inputs/expected-plists/NewDelete-path-notes.cpp.plist
The file was modifiedclang/test/Analysis/NewDelete-path-notes.cpp
The file was modifiedclang/test/Analysis/NewDeleteLeaks-PR19102.cpp