[llvm-commits] [llvm] r169221 - /llvm/trunk/lib/Support/Windows/Memory.inc
Chandler Carruth
chandlerc at gmail.com
Mon Dec 3 23:04:57 PST 2012
Author: chandlerc
Date: Tue Dec 4 01:04:57 2012
New Revision: 169221
URL: http://llvm.org/viewvc/llvm-project?rev=169221&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Support/Windows/Memory.inc
Modified: llvm/trunk/lib/Support/Windows/Memory.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Memory.inc?rev=169221&r1=169220&r2=169221&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Memory.inc (original)
+++ llvm/trunk/lib/Support/Windows/Memory.inc Tue Dec 4 01:04:57 2012
@@ -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 {
More information about the llvm-commits
mailing list