[llvm] r304268 - Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 18:33:39 PDT 2017
Author: gkistanova
Date: Tue May 30 20:33:39 2017
New Revision: 304268
URL: http://llvm.org/viewvc/llvm-project?rev=304268&view=rev
Log:
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
Modified:
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=304268&r1=304267&r2=304268&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Tue May 30 20:33:39 2017
@@ -2742,6 +2742,7 @@ std::string GNUStyle<ELFT>::getSymbolSec
case ELF::SHN_XINDEX:
SectionIndex = unwrapOrError(object::getExtendedSymbolTableIndex<ELFT>(
Symbol, FirstSym, this->dumper()->getShndxTable()));
+ LLVM_FALLTHROUGH;
default:
// Find if:
// Processor specific
More information about the llvm-commits
mailing list