Skip to content

Commit

Permalink
Fix missing return from 9324cc2
Browse files Browse the repository at this point in the history
No idea how my local machine missed this, but I saw no warning for it,
it seems to have been lost in some level of translating this back for
upstreaming.
  • Loading branch information
Erich Keane committed Sep 28, 2021
1 parent 73a196a commit 1cd3ae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/AST/Expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ std::string SYCLUniqueStableNameExpr::ComputeName(ASTContext &Context,
const NamedDecl *ND) -> llvm::Optional<unsigned> {
if (const auto *RD = dyn_cast<CXXRecordDecl>(ND))
return RD->getDeviceLambdaManglingNumber();
return llvm::None;
};

std::unique_ptr<MangleContext> Ctx{ItaniumMangleContext::create(
Expand Down

0 comments on commit 1cd3ae0

Please sign in to comment.