1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Add default constructor for MaybeAlign

llvm-svn: 367400
This commit is contained in:
Guillaume Chatelet 2019-07-31 09:16:24 +00:00
parent 162f3e1d38
commit f2fcc5d41b

View File

@ -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;