From 6fa60f5e8b22c2c3d4b32d17847233d785b23bef Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Mon, 22 May 2017 22:46:31 +0000 Subject: Added LLVM_FALLTHROUGH to address gcc warning: this statement may fall through. llvm-svn: 303585 --- llvm/lib/Support/GraphWriter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support/GraphWriter.cpp') 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 '"': -- cgit v1.2.3