[cfe-commits] r105995 - in /cfe/trunk/include/clang: AST/StmtIterator.h Rewrite/RewriteRope.h

Daniel Dunbar daniel at zuster.org
Tue Jun 15 07:50:52 PDT 2010


Author: ddunbar
Date: Tue Jun 15 09:50:52 2010
New Revision: 105995

URL: http://llvm.org/viewvc/llvm-project?rev=105995&view=rev
Log:
Add <cstddef> include to get ptrdiff_t, for gcc-4.6; patch by Dimitry Andric.

Modified:
    cfe/trunk/include/clang/AST/StmtIterator.h
    cfe/trunk/include/clang/Rewrite/RewriteRope.h

Modified: cfe/trunk/include/clang/AST/StmtIterator.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/StmtIterator.h?rev=105995&r1=105994&r2=105995&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/StmtIterator.h (original)
+++ cfe/trunk/include/clang/AST/StmtIterator.h Tue Jun 15 09:50:52 2010
@@ -16,6 +16,7 @@
 
 #include "llvm/System/DataTypes.h"
 #include <cassert>
+#include <cstddef>
 #include <iterator>
 
 namespace clang {

Modified: cfe/trunk/include/clang/Rewrite/RewriteRope.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Rewrite/RewriteRope.h?rev=105995&r1=105994&r2=105995&view=diff
==============================================================================
--- cfe/trunk/include/clang/Rewrite/RewriteRope.h (original)
+++ cfe/trunk/include/clang/Rewrite/RewriteRope.h Tue Jun 15 09:50:52 2010
@@ -16,6 +16,7 @@
 
 #include <cstring>
 #include <cassert>
+#include <cstddef>
 #include <iterator>
 
 namespace clang {





More information about the cfe-commits mailing list