[llvm] r304788 - Fix one place where I missed a commented requirement for a particular

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 05:11:24 PDT 2017


Author: chandlerc
Date: Tue Jun  6 07:11:24 2017
New Revision: 304788

URL: http://llvm.org/viewvc/llvm-project?rev=304788&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Support/Windows/WindowsSupport.h

Modified: llvm/trunk/lib/Support/Windows/WindowsSupport.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/WindowsSupport.h?rev=304788&r1=304787&r2=304788&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/WindowsSupport.h (original)
+++ llvm/trunk/lib/Support/Windows/WindowsSupport.h Tue Jun  6 07:11:24 2017
@@ -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




More information about the llvm-commits mailing list