summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-06-07 06:46:38 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-06-07 06:46:38 +0000
commit91d62c9a56b51f1953814b7d9036cdf3e61e70cf (patch)
treea26deef56737a27ae61d9682815c74dcf2e5f5e9 /lld/lib/Core
parentbe3ba9dae9c1bd475f4e81e1977e4270f457ae91 (diff)
downloadbcm5719-llvm-91d62c9a56b51f1953814b7d9036cdf3e61e70cf.tar.gz
bcm5719-llvm-91d62c9a56b51f1953814b7d9036cdf3e61e70cf.zip
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304873
Diffstat (limited to 'lld/lib/Core')
-rw-r--r--lld/lib/Core/SymbolTable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/Core/SymbolTable.cpp b/lld/lib/Core/SymbolTable.cpp
index cacea5f3084..2474dcf4a69 100644
--- a/lld/lib/Core/SymbolTable.cpp
+++ b/lld/lib/Core/SymbolTable.cpp
@@ -162,6 +162,7 @@ bool SymbolTable::addByName(const Atom &newAtom) {
<< existing->name() << " (" << existingSize << ") "
<< newAtom.name() << " (" << newSize << ")\n";
// fallthrough
+ LLVM_FALLTHROUGH;
}
case MCR_Error:
llvm::errs() << "Duplicate symbols: "
OpenPOWER on IntegriCloud