diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2019-07-31 09:16:24 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2019-07-31 09:16:24 +0000 |
commit | f87a9626f1df7083c30222693188401d3321f7b0 (patch) | |
tree | ce616faf32fd5d1fde0813d2152bd69b2182ff49 | |
parent | 7deaeee753f60ce4ef4ee7fda9d95fe5941b4ffb (diff) | |
download | bcm5719-llvm-f87a9626f1df7083c30222693188401d3321f7b0.tar.gz bcm5719-llvm-f87a9626f1df7083c30222693188401d3321f7b0.zip |
Add default constructor for MaybeAlign
llvm-svn: 367400
-rw-r--r-- | llvm/include/llvm/Support/Alignment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/Alignment.h b/llvm/include/llvm/Support/Alignment.h index 4068372512a..be369eb9831 100644 --- a/llvm/include/llvm/Support/Alignment.h +++ b/llvm/include/llvm/Support/Alignment.h @@ -87,6 +87,8 @@ private: using UP = llvm::Optional<Align>; public: + // Default is undefined. + MaybeAlign() = default; // Do not perform checks in case of copy/move construct/assign, because the // checks have been performed when building `Other`. MaybeAlign(const MaybeAlign &Other) = default; |