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:
01d8bb4
)
Fix compilation warning from GCC7. NFC.
author
Michael Liao
<michael.hliao@gmail.com>
Mon, 9 Dec 2019 15:09:28 +0000
(10:09 -0500)
committer
Michael Liao
<michael.hliao@gmail.com>
Mon, 9 Dec 2019 15:11:27 +0000
(10:11 -0500)
clang/lib/Sema/SemaDeclCXX.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaDeclCXX.cpp
b/clang/lib/Sema/SemaDeclCXX.cpp
index
c8b9598
..
d0857a5
100644
(file)
--- a/
clang/lib/Sema/SemaDeclCXX.cpp
+++ b/
clang/lib/Sema/SemaDeclCXX.cpp
@@
-7103,6
+7103,7
@@
public:
ResultList Results;
switch (DCK) {
+ default:
case DefaultedComparisonKind::None:
llvm_unreachable("not a defaulted comparison");
@@
-7592,6
+7593,7
@@
private:
return StmtError();
switch (DCK) {
+ default:
case DefaultedComparisonKind::None:
llvm_unreachable("not a defaulted comparison");