projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a196a
)
Fix missing return from 9324cc2ca951fe5fe11c85470cb08e699c59499c
author
Erich Keane
<erich.keane@intel.com>
Tue, 28 Sep 2021 14:30:06 +0000
(07:30 -0700)
committer
Erich Keane
<erich.keane@intel.com>
Tue, 28 Sep 2021 14:30:06 +0000
(07:30 -0700)
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.
clang/lib/AST/Expr.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/Expr.cpp
b/clang/lib/AST/Expr.cpp
index
7972f9a
..
f0c195c
100644
(file)
--- a/
clang/lib/AST/Expr.cpp
+++ b/
clang/lib/AST/Expr.cpp
@@
-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(