projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926bbc0
)
Make sure that clang-format doesn't reorder include files.
author
Rui Ueyama
<ruiu@google.com>
Wed, 28 Feb 2018 21:32:24 +0000
(21:32 +0000)
committer
Rui 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
patch
|
blob
|
history
diff --git
a/lld/Common/Strings.cpp
b/lld/Common/Strings.cpp
index
ca07bf3
..
1fac65b
100644
(file)
--- a/
lld/Common/Strings.cpp
+++ b/
lld/Common/Strings.cpp
@@
-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