[Lldb-commits] [PATCH] D13058: LLDB-MI: Bug when evaluating strings containing characters from non-ascii range

Dawn Perchik via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 2 13:08:41 PDT 2015


dawn added a comment.

> You can use clang-format to follow the LLDB coding style, or just do the following:


So we've been telling folks to use clang-format, but it's not working correctly (my version is clang-format version 3.6.0 (217927)).  It's turns:

  bool
  DoesPrintValue (lldb::SBValue value);

into:

  bool DoesPrintValue (lldb::SBValue value);

We have AlwaysBreakAfterDefinitionReturnType set to true, but that only works on function definitions.  I see there is a patch for AlwaysBreakAfterDeclarationReturnType at http://reviews.llvm.org/D10370?id=27471, but it's not been accepted yet.

So for now, we can't rely on clang-format for function declarations :(


http://reviews.llvm.org/D13058





More information about the lldb-commits mailing list