summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-23 11:35:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-23 11:35:30 +0000
commit901b85888c2de6bf982c47ab69b7e83908b6a216 (patch)
tree4cd57765b951ee18263af31ccc86fb5a46cc75e6 /utils
parente68e77569ff424d7c28f7386434103ecf2ebb9cb (diff)
downloadllvm-901b85888c2de6bf982c47ab69b7e83908b6a216.tar.gz
llvm-901b85888c2de6bf982c47ab69b7e83908b6a216.tar.bz2
llvm-901b85888c2de6bf982c47ab69b7e83908b6a216.tar.xz
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.cpp3
-rw-r--r--utils/TableGen/InstrInfoEmitter.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp
index 3280e09274..d2ddf232b3 100644
--- a/utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/utils/TableGen/CodeGenDAGPatterns.cpp
@@ -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;
//===----------------------------------------------------------------------===//
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp
index 0d278288ea..9a07970482 100644
--- a/utils/TableGen/InstrInfoEmitter.cpp
+++ b/utils/TableGen/InstrInfoEmitter.cpp
@@ -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,