summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/llvm-ar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r--llvm/tools/llvm-ar/llvm-ar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 515f8991e84..a9297eb0575 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -655,6 +655,8 @@ bool shouldCreateArchive(ArchiveOperation Op) {
case ReplaceOrInsert:
return true;
}
+
+ llvm_unreachable("Missing entry in covered switch.");
}
// main - main program for llvm-ar .. see comments in the code
OpenPOWER on IntegriCloud