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:
7f55a45
)
Suppress "control reaches end of non-void function" warning when compiling with gcc.
author
Andy Gibbs
<andyg1001@hotmail.co.uk>
Tue, 2 Jul 2013 16:01:56 +0000
(16:01 +0000)
committer
Andy Gibbs
<andyg1001@hotmail.co.uk>
Tue, 2 Jul 2013 16:01:56 +0000
(16:01 +0000)
llvm-svn: 185439
clang/lib/Sema/SemaLambda.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaLambda.cpp
b/clang/lib/Sema/SemaLambda.cpp
index
bc99d58
..
b2dbf05
100644
(file)
--- a/
clang/lib/Sema/SemaLambda.cpp
+++ b/
clang/lib/Sema/SemaLambda.cpp
@@
-116,6
+116,8
@@
Sema::getCurrentMangleNumberContext(DeclContext *DC,
// -- default arguments appearing in class definitions
return &ExprEvalContexts.back().getMangleNumberingContext();
}
+
+ llvm_unreachable("unexpected context");
}
CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class,