summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MIUtilString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-mi/MIUtilString.cpp')
-rw-r--r--lldb/tools/lldb-mi/MIUtilString.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/tools/lldb-mi/MIUtilString.cpp b/lldb/tools/lldb-mi/MIUtilString.cpp
index 45196a70398..3797d100179 100644
--- a/lldb/tools/lldb-mi/MIUtilString.cpp
+++ b/lldb/tools/lldb-mi/MIUtilString.cpp
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// Third party headers
+#include "llvm/Support/Compiler.h"
#include <cstdlib>
#include <inttypes.h> // for PRIx8
#include <limits.h> // for ULONG_MAX
@@ -890,7 +891,7 @@ CMIUtilString CMIUtilString::ConvertToPrintableASCII(const char vChar,
case '"':
if (bEscapeQuotes)
return "\\\"";
- // fall thru
+ LLVM_FALLTHROUGH;
default:
if (::isprint(vChar))
return Format("%c", vChar);
@@ -924,7 +925,7 @@ CMIUtilString::ConvertCharValueToPrintableASCII(char vChar,
case '"':
if (bEscapeQuotes)
return "\\\"";
- // fall thru
+ LLVM_FALLTHROUGH;
default:
if (::isprint(vChar))
return Format("%c", vChar);
OpenPOWER on IntegriCloud