diff options
author | Mikael Holmen <mikael.holmen@ericsson.com> | 2019-07-05 06:12:24 +0000 |
---|---|---|
committer | Mikael Holmen <mikael.holmen@ericsson.com> | 2019-07-05 06:12:24 +0000 |
commit | c72cb1f2a215fcaf7d69972b66a3a70f7d398271 (patch) | |
tree | d53b161b045b1bb3c549397f634c87c6835bce44 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | ecb60b7e5ce7bdfb4edb0963aa657db9d4ccb784 (diff) | |
download | llvm-c72cb1f2a215fcaf7d69972b66a3a70f7d398271.zip llvm-c72cb1f2a215fcaf7d69972b66a3a70f7d398271.tar.gz llvm-c72cb1f2a215fcaf7d69972b66a3a70f7d398271.tar.bz2 |
Silence gcc warning "control reaches end of non-void function" [NFCI]
Without this fix gcc (7.4) complains with
/data/repo/master/clang/lib/CodeGen/CGObjCMac.cpp: In member function 'std::__cxx11::string {anonymous}::CGObjCCommonMac::GetSectionName(llvm::StringRef, llvm::StringRef)':
/data/repo/master/clang/lib/CodeGen/CGObjCMac.cpp:4944:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
All values in the ObjectFormatType enum are currently handled in the switch
but gcc complains anyway.
llvm-svn: 365174
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions