[llvm] 4384127 - [llvm-tapi-diff] add default case to switch for symbol flags
Cyndy Ishida via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 18 11:29:18 PST 2023
Author: Cyndy Ishida
Date: 2023-02-18T11:27:44-08:00
New Revision: 4384127549e2ddcc5a11fa96885760363d102682
URL: https://github.com/llvm/llvm-project/commit/4384127549e2ddcc5a11fa96885760363d102682
DIFF: https://github.com/llvm/llvm-project/commit/4384127549e2ddcc5a11fa96885760363d102682.diff
LOG: [llvm-tapi-diff] add default case to switch for symbol flags
Added:
Modified:
llvm/tools/llvm-tapi-diff/DiffEngine.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-tapi-
diff /DiffEngine.cpp b/llvm/tools/llvm-tapi-
diff /DiffEngine.cpp
index 9ebaadbeec260..5786ec191d8e4 100644
--- a/llvm/tools/llvm-tapi-
diff /DiffEngine.cpp
+++ b/llvm/tools/llvm-tapi-
diff /DiffEngine.cpp
@@ -88,6 +88,8 @@ std::string SymScalar::stringifySymbolFlag(MachO::SymbolFlags Flag) {
return "Undefined";
case MachO::SymbolFlags::Rexported:
return "Reexported";
+ default:
+ return "";
}
llvm_unreachable("Unknown llvm::MachO::SymbolFlags enum");
}
More information about the llvm-commits
mailing list