summaryrefslogtreecommitdiffstats
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
commitdd7ca93abc93eee8229ee138687a9d2524eb1596 (patch)
treec6238adad172c6d09ee56c7cb9ff08ac791d443e
parentecc759a684d06c884e219984bef471347f8c804b (diff)
downloadbcm5719-llvm-dd7ca93abc93eee8229ee138687a9d2524eb1596.tar.gz
bcm5719-llvm-dd7ca93abc93eee8229ee138687a9d2524eb1596.zip
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. llvm-svn: 169221
-rw-r--r--llvm/lib/Support/Windows/Memory.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Windows/Memory.inc b/llvm/lib/Support/Windows/Memory.inc
index cb80f2817c0..4c5aebd5e71 100644
--- a/llvm/lib/Support/Windows/Memory.inc
+++ b/llvm/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 {
OpenPOWER on IntegriCloud