summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-05-22 22:46:31 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-05-22 22:46:31 +0000
commit6fa60f5e8b22c2c3d4b32d17847233d785b23bef (patch)
tree711cd7922bf813eee2346065a2c97f6a17819bb5 /llvm/lib/Support/GraphWriter.cpp
parent21a29cfe769292a46fa82725b9feccc6d6731160 (diff)
downloadbcm5719-llvm-6fa60f5e8b22c2c3d4b32d17847233d785b23bef.tar.gz
bcm5719-llvm-6fa60f5e8b22c2c3d4b32d17847233d785b23bef.zip
Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through.
llvm-svn: 303585
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r--llvm/lib/Support/GraphWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index d0e1d50e8cc..f70b77da8de 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/lib/Support/GraphWriter.cpp
@@ -43,6 +43,7 @@ std::string llvm::DOT::EscapeString(const std::string &Label) {
Str.erase(Str.begin()+i); continue;
default: break;
}
+ LLVM_FALLTHROUGH;
case '{': case '}':
case '<': case '>':
case '|': case '"':
OpenPOWER on IntegriCloud