From fb9476ee6c111755d1ac8ba435dd4bb5bc7b82a1 Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Tue, 23 May 2017 01:07:19 +0000 Subject: Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through. llvm-svn: 303595 --- llvm/lib/Support/Path.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support/Path.cpp') 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 -- cgit v1.2.3