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 2345a80 commit 30fed4dCopy full SHA for 30fed4d
clang/lib/AST/Interp/Context.cpp
@@ -102,7 +102,7 @@ std::optional<PrimType> Context::classify(QualType T) const {
102
case 8:
103
return PT_Sint8;
104
default:
105
- return {};
+ return std::nullopt;
106
}
107
108
@@ -117,7 +117,7 @@ std::optional<PrimType> Context::classify(QualType T) const {
117
118
return PT_Uint8;
119
120
121
122
123
@@ -143,7 +143,7 @@ std::optional<PrimType> Context::classify(QualType T) const {
143
if (const auto *DT = dyn_cast<MemberPointerType>(T))
144
return classify(DT->getPointeeType());
145
146
147
148
149
unsigned Context::getCharBit() const {
0 commit comments