[PATCH] D44725: [analyzer] NFC: Move construction context allocation into a helper method.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 20 19:48:27 PDT 2018


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

It is tedious to allocate and then placement-new the construction context, so i added a tiny variadic template to improve readability.


Repository:
  rC Clang

https://reviews.llvm.org/D44725

Files:
  lib/Analysis/ConstructionContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44725.139246.patch
Type: text/x-patch
Size: 5806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180321/64629472/attachment.bin>


More information about the cfe-commits mailing list