summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-06-06 12:11:24 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-06-06 12:11:24 +0000
commit185ddeffd47f1df6b9b12db0900e71009b4a70f4 (patch)
treeb271cca58cc617abf72fd99d099f0de5e840f0c2 /llvm/lib/Support/Windows
parent6bda14b3137a58c42220b209d18691ef87f0d845 (diff)
downloadbcm5719-llvm-185ddeffd47f1df6b9b12db0900e71009b4a70f4.tar.gz
bcm5719-llvm-185ddeffd47f1df6b9b12db0900e71009b4a70f4.zip
Fix one place where I missed a commented requirement for a particular
include ordering. I've changed the structure so that clang-format will preserve this going forward. llvm-svn: 304788
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r--llvm/lib/Support/Windows/WindowsSupport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/WindowsSupport.h b/llvm/lib/Support/Windows/WindowsSupport.h
index 98995e8eda1..d4599dca044 100644
--- a/llvm/lib/Support/Windows/WindowsSupport.h
+++ b/llvm/lib/Support/Windows/WindowsSupport.h
@@ -44,9 +44,11 @@
#include <cassert>
#include <string>
#include <system_error>
-#include <wincrypt.h> // Must be included after windows.h
#include <windows.h>
+// Must be included after windows.h
+#include <wincrypt.h>
+
/// Determines if the program is running on Windows 8 or newer. This
/// reimplements one of the helpers in the Windows 8.1 SDK, which are intended
/// to supercede raw calls to GetVersionEx. Old SDKs, Cygwin, and MinGW don't
OpenPOWER on IntegriCloud