From 9dd89ba393d8bbbd1891d3eb77322906258dfe2d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 19 Oct 2009 21:17:25 +0000 Subject: [PATCH] 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. llvm-svn: 84534 --- clang/tools/CIndex/CIndex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp index cc49ee4236f8..9bc3c70b0eac 100644 --- a/clang/tools/CIndex/CIndex.cpp +++ b/clang/tools/CIndex/CIndex.cpp @@ -27,13 +27,14 @@ #include "llvm/System/Path.h" #include "llvm/System/Program.h" #include +#include + #ifdef LLVM_ON_WIN32 #define WIN32_LEAN_AND_MEAN #include #else #include #endif -#include using namespace clang; using namespace idx; -- GitLab