diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-07-06 02:39:51 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-07-06 02:39:51 +0000 |
commit | 2be430d251a781e76634e945d56224a7a0ef5a39 (patch) | |
tree | 8c523fc64188d13e605699a693491e42df3e612b /tools/llvm-ar | |
parent | 429aead0693c4c2811029cb243c20153775ca71d (diff) | |
download | llvm-2be430d251a781e76634e945d56224a7a0ef5a39.tar.gz llvm-2be430d251a781e76634e945d56224a7a0ef5a39.tar.bz2 llvm-2be430d251a781e76634e945d56224a7a0ef5a39.tar.xz |
[llvm-ar] Added llvm_unreachable to quiet -Wreturn-type warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar')
-rw-r--r-- | tools/llvm-ar/llvm-ar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 515f8991e8..a9297eb057 100644 --- a/tools/llvm-ar/llvm-ar.cpp +++ b/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 |