Make sure that clang-format doesn't reorder include files.
authorRui Ueyama <ruiu@google.com>
Wed, 28 Feb 2018 21:32:24 +0000 (21:32 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 28 Feb 2018 21:32:24 +0000 (21:32 +0000)
clang-format won't reorder include files if there is a blank line.
Thanks to Nico for the tips.

llvm-svn: 326371

lld/Common/Strings.cpp

index ca07bf3..1fac65b 100644 (file)
@@ -18,6 +18,8 @@
 
 #if defined(_MSC_VER)
 #include <Windows.h>
+
+// DbgHelp.h must be included after Windows.h.
 #include <DbgHelp.h>
 #pragma comment(lib, "dbghelp.lib")
 #endif