diff options
| author | Adrian Prantl <aprantl@apple.com> | 2017-12-19 22:54:37 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2017-12-19 22:54:37 +0000 |
| commit | a01e024ad79edfbb62b6497260bb63675c4be438 (patch) | |
| tree | 7b7d7dbfe5879a5e1b5c3d83193aabc9733b4530 /lldb/tools/lldb-mi/MIUtilString.cpp | |
| parent | b3574b32c3fde815a93f8e11d5a4b0e72180f4ae (diff) | |
| download | bcm5719-llvm-a01e024ad79edfbb62b6497260bb63675c4be438.tar.gz bcm5719-llvm-a01e024ad79edfbb62b6497260bb63675c4be438.zip | |
Fix a couple of warnings (NFC)
llvm-svn: 321120
Diffstat (limited to 'lldb/tools/lldb-mi/MIUtilString.cpp')
| -rw-r--r-- | lldb/tools/lldb-mi/MIUtilString.cpp | 5 |
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); |

