File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -167,11 +167,12 @@ namespace optional_detail {
167
167
// / Customize OptionalStorage<FileEntryRef> to use FileEntryRef and its
168
168
// / optional_none_tag to keep it the size of a single pointer.
169
169
template <> class OptionalStorage <clang::FileEntryRef> {
170
- clang::FileEntryRef MaybeRef = clang::FileEntryRef::optional_none_tag{} ;
170
+ clang::FileEntryRef MaybeRef;
171
171
172
172
public:
173
173
~OptionalStorage () = default ;
174
- constexpr OptionalStorage () noexcept = default;
174
+ constexpr OptionalStorage () noexcept
175
+ : MaybeRef(clang::FileEntryRef::optional_none_tag) {}
175
176
constexpr OptionalStorage (OptionalStorage const &Other) = default;
176
177
constexpr OptionalStorage (OptionalStorage &&Other) = default;
177
178
OptionalStorage &operator =(OptionalStorage const &Other) = default ;
You can’t perform that action at this time.
0 commit comments