Include cstdio in a few place that depended on getting it transitively through StringExtras.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2012-03-23 11:35:30 +00:00
parent e68e77569f
commit 901b85888c
4 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,7 @@
#include "llvm/Bitcode/ReaderWriter.h" #include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <memory> #include <memory>
using namespace llvm; using namespace llvm;

View File

@ -33,8 +33,9 @@
#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringExtras.h"
#include "llvm/Config/config.h" #include "llvm/Config/config.h"
#include <algorithm> #include <algorithm>
#include <set> #include <cstdio>
#include <map> #include <map>
#include <set>
using namespace llvm; using namespace llvm;
static cl::opt<std::string> static cl::opt<std::string>

View File

@ -19,8 +19,9 @@
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ErrorHandling.h"
#include <set>
#include <algorithm> #include <algorithm>
#include <cstdio>
#include <set>
using namespace llvm; using namespace llvm;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -18,6 +18,7 @@
#include "llvm/TableGen/Record.h" #include "llvm/TableGen/Record.h"
#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringExtras.h"
#include <algorithm> #include <algorithm>
#include <cstdio>
using namespace llvm; using namespace llvm;
static void PrintDefList(const std::vector<Record*> &Uses, static void PrintDefList(const std::vector<Record*> &Uses,