[cfe-commits] r84534 - /cfe/trunk/tools/CIndex/CIndex.cpp

Ted Kremenek kremenek at apple.com
Mon Oct 19 14:17:25 PDT 2009


Author: kremenek
Date: Mon Oct 19 16:17:25 2009
New Revision: 84534

URL: http://llvm.org/viewvc/llvm-project?rev=84534&view=rev
Log:
Re-order includes so that the logic involving '#ifdef LLVM_ON_WIN32' appears after the main #includes.  The ultimate solution is to just use LLVM-portable methods in llvm/System.

Modified:
    cfe/trunk/tools/CIndex/CIndex.cpp

Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=84534&r1=84533&r2=84534&view=diff

==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Mon Oct 19 16:17:25 2009
@@ -27,13 +27,14 @@
 #include "llvm/System/Path.h"
 #include "llvm/System/Program.h"
 #include <cstdio>
+#include <vector>
+
 #ifdef LLVM_ON_WIN32
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #else
 #include <dlfcn.h>
 #endif
-#include <vector>
 
 using namespace clang;
 using namespace idx;





More information about the cfe-commits mailing list