]> granicus.if.org Git - clang/commitdiff
Fix build of clang with gcc-4.4: #include <cstdio> was missing.
authorTorok Edwin <edwintorok@gmail.com>
Mon, 24 Aug 2009 13:25:12 +0000 (13:25 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Mon, 24 Aug 2009 13:25:12 +0000 (13:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79916 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Stmt.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/TargetABIInfo.cpp
lib/Frontend/ASTConsumers.cpp
lib/Frontend/FixItRewriter.cpp
lib/Frontend/PCHWriterDecl.cpp
lib/Frontend/RewriteMacros.cpp
lib/Sema/ParseAST.cpp
lib/Sema/SemaOverload.cpp

index cd8fba6b7a16b7107bef2fa7e82d3a50ff736411..f230018c0df04c940522c61422e1177afc001219 100644 (file)
@@ -19,6 +19,7 @@
 #include "clang/AST/Type.h"
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/ASTDiagnostic.h"
+#include <cstdio>
 using namespace clang;
 
 static struct StmtClassNameTable {
index dad433f6283d8671fc12bba1fdcc56b9d563ea11..5156d488e2b9444ae87310f8ea361bb8a5dd4a87 100644 (file)
@@ -17,6 +17,8 @@
 #include "llvm/Module.h"
 #include "llvm/Target/TargetData.h"
 #include <algorithm>
+#include <cstdio>
+
 using namespace clang;
 using namespace CodeGen;
 
index 457bddd764d05606282d07c282441da22470ae20..f97b80aa40994d443fd722a3e8db4446851c61fc 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/ADT/DenseSet.h"
 #include "llvm/Target/TargetData.h"
 #include <sstream>
+#include <cstdio>
 
 using namespace clang;
 using namespace CodeGen;
index 96c70feafe94f2034e57201321a9d2f7643194f6..0ca2bb29b95c253e236c9ba00e534b6d19d21efc 100644 (file)
@@ -17,6 +17,7 @@
 #include "clang/AST/RecordLayout.h"
 #include "llvm/Type.h"
 #include "llvm/ADT/Triple.h"
+#include <cstdio>
 
 using namespace clang;
 using namespace CodeGen;
index 026848bcd5ac5f7cba122e19dcf6c2547823a240..178f1bf8e1ef690ffbf8872a4050a0bf0ce6015c 100644 (file)
@@ -26,6 +26,8 @@
 #include "llvm/Support/Timer.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/System/Path.h"
+#include <cstdio>
+
 using namespace clang;
 
 //===----------------------------------------------------------------------===//
index 030efd487efc3370398e8a899c94d7529fb2d450..98e2503d59d046cbe4fe9e6185455e76226fecd3 100644 (file)
@@ -19,6 +19,8 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/System/Path.h"
 #include "llvm/ADT/OwningPtr.h"
+#include <cstdio>
+
 using namespace clang;
 
 FixItRewriter::FixItRewriter(Diagnostic &Diags, SourceManager &SourceMgr,
index c605148e2bf2319556770664ee30b20352c207f2..eed888382aca37d5467b649579e8f6e7aa306005 100644 (file)
@@ -16,6 +16,8 @@
 #include "clang/AST/Expr.h"
 #include "clang/AST/TypeLoc.h"
 #include "llvm/Bitcode/BitstreamWriter.h"
+#include <cstdio>
+
 using namespace clang;
 
 //===----------------------------------------------------------------------===//
index 5db2170d63e86c504d4011ac7c7a4fc0fd9ae685..30cd6ff494d098f9442a71be8c7d9d5c9ed503f7 100644 (file)
@@ -19,6 +19,8 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/System/Path.h"
 #include "llvm/ADT/OwningPtr.h"
+#include <cstdio>
+
 using namespace clang;
 
 /// isSameToken - Return true if the two specified tokens start have the same
index a731401dcd78df40e4906c069b01c31e9d162f63..b6e52570eab0e25c8c0b160a20729cbab5cff754 100644 (file)
@@ -19,6 +19,8 @@
 #include "clang/AST/ExternalASTSource.h"
 #include "clang/AST/Stmt.h"
 #include "clang/Parse/Parser.h"
+#include <cstdio>
+
 using namespace clang;
 
 //===----------------------------------------------------------------------===//
index c445144b6238d1c493f6d8f761f044809d01dd2b..850b5e7d8af8542f785504ecf8c9b85041360c51 100644 (file)
@@ -23,6 +23,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/Compiler.h"
 #include <algorithm>
+#include <cstdio>
 
 namespace clang {