[cfe-commits] r48153 - in /cfe/trunk: AST/CFG.cpp Basic/Diagnostic.cpp Driver/SerializationTest.cpp Lex/ScratchBuffer.cpp include/clang/Rewrite/RewriteRope.h
Chris Lattner
sabre at nondot.org
Mon Mar 10 10:04:53 PDT 2008
Author: lattner
Date: Mon Mar 10 12:04:53 2008
New Revision: 48153
URL: http://llvm.org/viewvc/llvm-project?rev=48153&view=rev
Log:
Add some missing #includes for GCC mainline, patch by Shantonu Sen!
Modified:
cfe/trunk/AST/CFG.cpp
cfe/trunk/Basic/Diagnostic.cpp
cfe/trunk/Driver/SerializationTest.cpp
cfe/trunk/Lex/ScratchBuffer.cpp
cfe/trunk/include/clang/Rewrite/RewriteRope.h
Modified: cfe/trunk/AST/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/CFG.cpp?rev=48153&r1=48152&r2=48153&view=diff
==============================================================================
--- cfe/trunk/AST/CFG.cpp (original)
+++ cfe/trunk/AST/CFG.cpp Mon Mar 10 12:04:53 2008
@@ -25,7 +25,7 @@
#include <iomanip>
#include <algorithm>
#include <sstream>
-
+#include <iostream>
using namespace clang;
Modified: cfe/trunk/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Basic/Diagnostic.cpp?rev=48153&r1=48152&r2=48153&view=diff
==============================================================================
--- cfe/trunk/Basic/Diagnostic.cpp (original)
+++ cfe/trunk/Basic/Diagnostic.cpp Mon Mar 10 12:04:53 2008
@@ -16,6 +16,7 @@
#include <cassert>
#include <vector>
#include <map>
+#include <cstring>
using namespace clang;
//===----------------------------------------------------------------------===//
Modified: cfe/trunk/Driver/SerializationTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/SerializationTest.cpp?rev=48153&r1=48152&r2=48153&view=diff
==============================================================================
--- cfe/trunk/Driver/SerializationTest.cpp (original)
+++ cfe/trunk/Driver/SerializationTest.cpp Mon Mar 10 12:04:53 2008
@@ -23,7 +23,7 @@
#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/Streams.h"
#include <fstream>
-
+#include <cstring>
using namespace clang;
//===----------------------------------------------------------------------===//
Modified: cfe/trunk/Lex/ScratchBuffer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/ScratchBuffer.cpp?rev=48153&r1=48152&r2=48153&view=diff
==============================================================================
--- cfe/trunk/Lex/ScratchBuffer.cpp (original)
+++ cfe/trunk/Lex/ScratchBuffer.cpp Mon Mar 10 12:04:53 2008
@@ -14,6 +14,7 @@
#include "clang/Lex/ScratchBuffer.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/Support/MemoryBuffer.h"
+#include <cstring>
using namespace clang;
// ScratchBufSize - The size of each chunk of scratch memory. Slightly less
Modified: cfe/trunk/include/clang/Rewrite/RewriteRope.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Rewrite/RewriteRope.h?rev=48153&r1=48152&r2=48153&view=diff
==============================================================================
--- cfe/trunk/include/clang/Rewrite/RewriteRope.h (original)
+++ cfe/trunk/include/clang/Rewrite/RewriteRope.h Mon Mar 10 12:04:53 2008
@@ -16,7 +16,7 @@
#include "llvm/ADT/iterator"
#include <list>
-
+#include <cstring>
namespace clang {
More information about the cfe-commits
mailing list