mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Add default constructor for MaybeAlign
llvm-svn: 367400
This commit is contained in:
parent
162f3e1d38
commit
f2fcc5d41b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user