Skip to content

Commit 010238a

Browse files
committed
Speculative fix for bots after 84e8257
I'm not seeing an error locally, but many bots are having a problem with the call to `hasOptionalValue`. Try to fix it.
1 parent a3f3855 commit 010238a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/FileEntry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class FileEntryRef {
148148

149149
// Private constructor for use by OptionalStorage.
150150
FileEntryRef(optional_none_tag) : ME(nullptr) {}
151-
bool hasOptionalValue() const { return ME; }
151+
constexpr bool hasOptionalValue() const { return ME; }
152152

153153
const MapEntry *ME;
154154
};

0 commit comments

Comments
 (0)