We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef7c4c commit 05ff379Copy full SHA for 05ff379
clang/include/clang/Basic/DirectoryEntry.h
@@ -138,23 +138,23 @@ template <class RefTy> class MapEntryOptionalStorage {
138
return MaybeRef;
139
}
140
RefTy &getValue() & {
141
- assert(hasValue());
+ assert(has_value());
142
143
144
RefTy const &value() const & {
145
assert(has_value());
146
147
148
RefTy const &getValue() const & {
149
150
151
152
RefTy &&value() && {
153
154
return std::move(MaybeRef);
155
156
RefTy &&getValue() && {
157
158
159
160
0 commit comments