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 12f4c71 commit e4cd8d6Copy full SHA for e4cd8d6
clang/lib/AST/Expr.cpp
@@ -596,8 +596,8 @@ std::string SYCLUniqueStableNameExpr::ComputeName(ASTContext &Context) const {
596
getTypeSourceInfo()->getType());
597
}
598
599
-static std::optional<unsigned>
600
-UniqueStableNameDiscriminator(ASTContext &, const NamedDecl *ND) {
+static UnsignedOrNone UniqueStableNameDiscriminator(ASTContext &,
+ const NamedDecl *ND) {
601
if (const auto *RD = dyn_cast<CXXRecordDecl>(ND))
602
if (RD->isLambda())
603
return RD->getDeviceLambdaManglingNumber();
0 commit comments