[Lldb-commits] [PATCH] D70177: [lldb] Fix that trailing backslashes in source lines break the Clang highlighter

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 13 07:12:38 PST 2019


labath added inline comments.


================
Comment at: lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp:149
+  const bool line_had_lf = line.consume_back("\n");
+  const bool line_had_cr_lf = line.consume_back("\r");
+
----------------
`= line_had_lf && consume_back(\r)`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70177/new/

https://reviews.llvm.org/D70177





More information about the lldb-commits mailing list