[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
Wed Mar 21 17:04:05 PDT 2018


NoQ added a comment.

> E.g. we have `llvm::make_shared<>()`, so we could also have `Allocator::make_obj<...>(...)`

I like your thinking, but that'd require me to make the allocator my friend class (:


https://reviews.llvm.org/D44725





More information about the cfe-commits mailing list