Author: d0k
Date: Sat Aug 29 07:56:35 2009
New Revision: 80430
URL: http://llvm.org/viewvc/llvm-project?rev=80430&view=rev
Log:
gcc 4.4 needs cstdio for printf. Reorder includes while at it.
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=80430&r1=80429&r2=80430&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Sat Aug 29 07:56:35 2009
@@ -12,15 +12,12 @@
//===----------------------------------------------------------------------===//
#include "clang-c/Index.h"
-
#include "clang/Index/Program.h"
#include "clang/Index/Indexer.h"
-
-#include "clang/Frontend/ASTUnit.h"
-#include "clang/Basic/FileManager.h"
-
#include "clang/AST/DeclVisitor.h"
-
+#include "clang/Basic/FileManager.h"
+#include "clang/Frontend/ASTUnit.h"
+#include <cstdio>
using namespace clang;
using namespace idx;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits