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.
2 parents 5bd4113 + 525cfe3 commit c174b86Copy full SHA for c174b86
lib/AST/TypeCheckRequests.cpp
@@ -823,7 +823,9 @@ void RequiresOpaqueAccessorsRequest::cacheResult(bool value) const {
823
// RequiresOpaqueModifyCoroutineRequest computation.
824
//----------------------------------------------------------------------------//
825
826
-std::optional<bool>
+// NOTE: The [[clang::optnone]] annotation works around a miscompile in clang
827
+// version 13.0.0 affecting at least Ubuntu 20.04, 22.04, and UBI 9.
828
+[[clang::optnone]] std::optional<bool>
829
RequiresOpaqueModifyCoroutineRequest::getCachedResult() const {
830
auto *storage = std::get<0>(getStorage());
831
auto isUnderscored = std::get<1>(getStorage());
0 commit comments