Include cstdio in a few place that depended on getting it transitively through String...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 23 Mar 2012 11:35:30 +0000 (11:35 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 23 Mar 2012 11:35:30 +0000 (11:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153328 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Archive/ArchiveReader.cpp
lib/Target/CppBackend/CPPBackend.cpp
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/InstrInfoEmitter.cpp

index a78c0f59bc064e8dcae92386833a537a4760a1d8..68873e2768d33cb1ca5ec3d682b1ecc4d4d1f1c6 100644 (file)
@@ -16,6 +16,7 @@
 #include "llvm/Bitcode/ReaderWriter.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/Module.h"
+#include <cstdio>
 #include <cstdlib>
 #include <memory>
 using namespace llvm;
index efa54d20885a778fd58a757102b4cc45768c5e63..69f0ff87eda0e195e3964d28d555e285ece8ee44 100644 (file)
@@ -33,8 +33,9 @@
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/Config/config.h"
 #include <algorithm>
-#include <set>
+#include <cstdio>
 #include <map>
+#include <set>
 using namespace llvm;
 
 static cl::opt<std::string>
index 3280e09274f6bf3f998153090710bd89df849557..d2ddf232b32a8f49a7dc8515a4edd22bb0d75c7a 100644 (file)
@@ -19,8 +19,9 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
-#include <set>
 #include <algorithm>
+#include <cstdio>
+#include <set>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
index 0d278288ea40848657f9e71a1cb4b7a7bed2da2a..9a079704824c1da9ed8c56941dc8930e74a0bb33 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/TableGen/Record.h"
 #include "llvm/ADT/StringExtras.h"
 #include <algorithm>
+#include <cstdio>
 using namespace llvm;
 
 static void PrintDefList(const std::vector<Record*> &Uses,