aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-07-04 21:40:28 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-07-04 21:40:28 +0000
commit53a83b7e3c675aa96225b8a68fb07e1a01646333 (patch)
tree963430108043c0b35a0296f49f734ee3cc532962 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent09a066b3aabfc4ea21d59d464f032f5f8a25c059 (diff)
downloadllvm-53a83b7e3c675aa96225b8a68fb07e1a01646333.zip
llvm-53a83b7e3c675aa96225b8a68fb07e1a01646333.tar.gz
llvm-53a83b7e3c675aa96225b8a68fb07e1a01646333.tar.bz2
[NFC] Make some ObjectFormatType switches covering
Summary: This patch removes the `default` case from some switches on `llvm::Triple::ObjectFormatType`, and cases for the missing enumerators are then added. For `UnknownObjectFormat`, the action (`llvm_unreachable`) for the `default` case is kept. For the other unhandled cases, `report_fatal_error` is used instead. Reviewers: sfertile, jasonliu, daltenty Reviewed By: sfertile Subscribers: wuzish, aheejin, jsji, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D63767 llvm-svn: 365160
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions