aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Windows
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-04 07:04:57 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-04 07:04:57 +0000
commit8a0ff3a2659e64408c76507ff0514748b6744b06 (patch)
tree7f4c7a9bdbdefaa78cf3f9369a08cc50f80aeae0 /lib/Support/Windows
parenta7645a3c66668da5e2bc772a8e5ab03dc301610c (diff)
Add a comment about the requirement that the Windows.h header be last.
This comment has the dual effect of blocking reorderings with the sort_include script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows')
-rw-r--r--lib/Support/Windows/Memory.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Windows/Memory.inc b/lib/Support/Windows/Memory.inc
index cb80f2817c..4c5aebd5e7 100644
--- a/lib/Support/Windows/Memory.inc
+++ b/lib/Support/Windows/Memory.inc
@@ -15,6 +15,8 @@
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Process.h"
+
+// The Windows.h header must be the last one included.
#include "Windows.h"
namespace {