[PATCH] D86120: [NFC][llvm] Make the contructors of `ElementCount` private.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 10:05:36 PDT 2020


fpetrogalli added inline comments.


================
Comment at: llvm/include/llvm/Support/TypeSize.h:30
+private:
   ElementCount() = default;
 
----------------
ctetreau wrote:
> since this is now private, and nothing uses it, it should be deleted
I have anyway marked the default constructor as deleted. I have explained why in a comment in the sources.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86120/new/

https://reviews.llvm.org/D86120



More information about the llvm-commits mailing list