summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Support/FormattedStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lib/Support/FormattedStream.cpp')
-rw-r--r--gnu/llvm/lib/Support/FormattedStream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/llvm/lib/Support/FormattedStream.cpp b/gnu/llvm/lib/Support/FormattedStream.cpp
index 2ed71c7e431..a9f4409f5dd 100644
--- a/gnu/llvm/lib/Support/FormattedStream.cpp
+++ b/gnu/llvm/lib/Support/FormattedStream.cpp
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Support/Debug.h"
#include "llvm/Support/FormattedStream.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
@@ -32,6 +32,7 @@ static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *
switch (*Ptr) {
case '\n':
Line += 1;
+ LLVM_FALLTHROUGH;
case '\r':
Column = 0;
break;