소스 검색

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
Benjamin Kramer 13 년 전
부모
커밋
901b85888c
4개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      lib/Archive/ArchiveReader.cpp
  2. 2 1
      lib/Target/CppBackend/CPPBackend.cpp
  3. 2 1
      utils/TableGen/CodeGenDAGPatterns.cpp
  4. 1 0
      utils/TableGen/InstrInfoEmitter.cpp

+ 1 - 0
lib/Archive/ArchiveReader.cpp

@@ -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;

+ 2 - 1
lib/Target/CppBackend/CPPBackend.cpp

@@ -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>

+ 2 - 1
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;
 
 //===----------------------------------------------------------------------===//

+ 1 - 0
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,