[Lldb-commits] [PATCH] D57990: Use std::make_shared in LLDB (NFC)

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 8 18:14:18 PST 2019


JDevlieghere marked an inline comment as done.
JDevlieghere added inline comments.


================
Comment at: lldb/source/API/SBData.cpp:12
+#include <memory>
+
 #include "lldb/API/SBData.h"
----------------
jingham wrote:
> Eugene.Zelenko wrote:
> > Spaces between include statements interfere with Clang-format. Same in other places.
> How?
> 
> We always separate system header includes from lldb includes from llvm includes by putting a blank line.  That's done all over the place in lldb.  I haven't heard of this causing problems before now.  If this does cause problems, that should be fixed in clang-format.  It seems like a really unreasonable requirement.
Indeed, and as far as I know llvm does exactly the same thing. clang-format sorts headers within the same group, which is exactly what we want. 


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D57990





More information about the lldb-commits mailing list