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:
df96551
)
Add llvm_unreacheable to silence warning "not all control paths return a value" ...
author
Mehdi Amini
<joker.eph@gmail.com>
Wed, 9 Jun 2021 00:42:21 +0000
(
00:42
+0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Wed, 9 Jun 2021 00:42:57 +0000
(
00:42
+0000)
mlir/lib/IR/SymbolTable.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/IR/SymbolTable.cpp
b/mlir/lib/IR/SymbolTable.cpp
index
aef7b92
..
9f145a2
100644
(file)
--- a/
mlir/lib/IR/SymbolTable.cpp
+++ b/
mlir/lib/IR/SymbolTable.cpp
@@
-385,6
+385,7
@@
raw_ostream &mlir::operator<<(raw_ostream &os,
case SymbolTable::Visibility::Nested:
return os << "nested";
}
+ llvm_unreachable("Unexpected visibility");
}
//===----------------------------------------------------------------------===//