From e5180ba874df445632a6751e96f857d71832bf9f Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Fri, 19 May 2017 21:08:28 +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@303457 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/FormattedStream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Support/FormattedStream.cpp b/lib/Support/FormattedStream.cpp index 2ed71c7e431..c0165960444 100644 --- a/lib/Support/FormattedStream.cpp +++ b/lib/Support/FormattedStream.cpp @@ -32,6 +32,7 @@ static void UpdatePosition(std::pair &Position, const char * switch (*Ptr) { case '\n': Line += 1; + LLVM_FALLTHROUGH; case '\r': Column = 0; break; -- 2.50.1