Skip to content

Commit e4cd8d6

Browse files
committed
[Clang] Fix conflcit resolution for cfee056 (#28371)
CMPLRLLVM-66754
1 parent 12f4c71 commit e4cd8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/AST/Expr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@ std::string SYCLUniqueStableNameExpr::ComputeName(ASTContext &Context) const {
596596
getTypeSourceInfo()->getType());
597597
}
598598

599-
static std::optional<unsigned>
600-
UniqueStableNameDiscriminator(ASTContext &, const NamedDecl *ND) {
599+
static UnsignedOrNone UniqueStableNameDiscriminator(ASTContext &,
600+
const NamedDecl *ND) {
601601
if (const auto *RD = dyn_cast<CXXRecordDecl>(ND))
602602
if (RD->isLambda())
603603
return RD->getDeviceLambdaManglingNumber();

0 commit comments

Comments
 (0)