forked from OSchip/llvm-project
Speculative fix for bots after 84e8257937
, v2
Looks like some bots don't like the defaulted default constructor, try being explicit.
This commit is contained in:
parent
010238a296
commit
5530fb586f
|
@ -167,11 +167,12 @@ namespace optional_detail {
|
|||
/// Customize OptionalStorage<FileEntryRef> to use FileEntryRef and its
|
||||
/// optional_none_tag to keep it the size of a single pointer.
|
||||
template <> class OptionalStorage<clang::FileEntryRef> {
|
||||
clang::FileEntryRef MaybeRef = clang::FileEntryRef::optional_none_tag{};
|
||||
clang::FileEntryRef MaybeRef;
|
||||
|
||||
public:
|
||||
~OptionalStorage() = default;
|
||||
constexpr OptionalStorage() noexcept = default;
|
||||
constexpr OptionalStorage() noexcept
|
||||
: MaybeRef(clang::FileEntryRef::optional_none_tag) {}
|
||||
constexpr OptionalStorage(OptionalStorage const &Other) = default;
|
||||
constexpr OptionalStorage(OptionalStorage &&Other) = default;
|
||||
OptionalStorage &operator=(OptionalStorage const &Other) = default;
|
||||
|
|
Loading…
Reference in New Issue