[NFC][IR][AsmWriter] Fix Wreturn-type gcc warning
GCC warning:
```
/llvm-project/llvm/lib/IR/AsmWriter.cpp:3175:1: warning: control reaches end of non-void function [-Wreturn-type]
3175 | }
| ^
```
This commit is contained in:
parent
8644eb024b
commit
fc4e8a3e8b
@ -3172,6 +3172,7 @@ static const char *getVisibilityName(GlobalValue::VisibilityTypes Vis) {
|
||||
case GlobalValue::ProtectedVisibility:
|
||||
return "protected";
|
||||
}
|
||||
llvm_unreachable("invalid visibility");
|
||||
}
|
||||
|
||||
void AssemblyWriter::printFunctionSummary(const FunctionSummary *FS) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user