[PATCH] D44763: [analyzer] Add C++17-specific constructor-initializer construction contexts.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 21 17:10:48 PDT 2018


NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.

`CXXCtorInitializer`-based constructors are apparently also affected by the C++17 mandatory copy elision, like variable constructors and return value constructors. Extend https://reviews.llvm.org/D44597 to support those.


Repository:
  rC Clang

https://reviews.llvm.org/D44763

Files:
  include/clang/Analysis/CFG.h
  include/clang/Analysis/ConstructionContext.h
  lib/Analysis/CFG.cpp
  lib/Analysis/ConstructionContext.cpp
  lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  test/Analysis/cfg-rich-constructors.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44763.139398.patch
Type: text/x-patch
Size: 11260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180322/40ea6a50/attachment-0001.bin>


More information about the cfe-commits mailing list