[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:
Yang Fan 2021-01-28 15:57:54 +08:00
parent 8644eb024b
commit fc4e8a3e8b
No known key found for this signature in database
GPG Key ID: 717E4EB972E515EF
1 changed files with 1 additions and 0 deletions

View File

@ -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) {