summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-05-23 01:07:19 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-05-23 01:07:19 +0000
commitfb9476ee6c111755d1ac8ba435dd4bb5bc7b82a1 (patch)
tree38b1ca33382691c9cc3fe577ece705f408ebe3ea /llvm/lib/Support/Path.cpp
parent43caf6785f5bdafa11de2dbc520f2eb859282506 (diff)
downloadbcm5719-llvm-fb9476ee6c111755d1ac8ba435dd4bb5bc7b82a1.tar.gz
bcm5719-llvm-fb9476ee6c111755d1ac8ba435dd4bb5bc7b82a1.zip
Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through.
llvm-svn: 303595
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index 9fd6652ce4b..80bef558258 100644
--- a/llvm/lib/Support/Path.cpp
+++ b/llvm/lib/Support/Path.cpp
@@ -1156,6 +1156,7 @@ file_magic identify_magic(StringRef Magic) {
case 0xc4: // ARMNT Windows
if (Magic[1] == 0x01)
return file_magic::coff_object;
+ LLVM_FALLTHROUGH;
case 0x90: // PA-RISC Windows
case 0x68: // mc68K Windows
OpenPOWER on IntegriCloud