From b11f3d3884d84bc12c37eec42c18b4ac52eecf8b Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Tue, 23 May 2017 01:07:19 +0000 Subject: [PATCH] Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303595 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Path.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Support/Path.cpp b/lib/Support/Path.cpp index 9fd6652ce4b..80bef558258 100644 --- a/lib/Support/Path.cpp +++ b/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 -- 2.50.1