projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2acea27
)
Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through.
author
Galina Kistanova
<gkistanova@gmail.com>
Fri, 19 May 2017 21:08:28 +0000
(21:08 +0000)
committer
Galina Kistanova
<gkistanova@gmail.com>
Fri, 19 May 2017 21:08:28 +0000
(21:08 +0000)
llvm-svn: 303457
llvm/lib/Support/FormattedStream.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/FormattedStream.cpp
b/llvm/lib/Support/FormattedStream.cpp
index
2ed71c7
..
c016596
100644
(file)
--- a/
llvm/lib/Support/FormattedStream.cpp
+++ b/
llvm/lib/Support/FormattedStream.cpp
@@
-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;