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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to