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

Benjamin Kramer benny.kra at googlemail.com
Sat Aug 29 05:56:35 PDT 2009


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;
 





More information about the cfe-commits mailing list