Skip to content

Commit

Permalink
Include cstdio in a few place that depended on getting it transitivel…
Browse files Browse the repository at this point in the history
…y through StringExtras.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153328 91177308-0d34-0410-b5e6-96231b3b80d8
d0k committed Mar 23, 2012
1 parent e68e775 commit 901b858
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/Archive/ArchiveReader.cpp
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 2 additions & 1 deletion lib/Target/CppBackend/CPPBackend.cpp
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 2 additions & 1 deletion utils/TableGen/CodeGenDAGPatterns.cpp
Original file line number Diff line number Diff line change
@@ -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;

//===----------------------------------------------------------------------===//
1 change: 1 addition & 0 deletions utils/TableGen/InstrInfoEmitter.cpp
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 901b858

Please sign in to comment.