Author: d0k Date: Mon Jan 30 10:00:57 2017 New Revision: 293488 URL: http://llvm.org/viewvc/llvm-project?rev=293488&view=rev Log: [AST] Make header standalone.
Most implementations get ptrdiff_t transitively, some don't. Explicitly include cstddef. Modified: cfe/trunk/include/clang/AST/ASTVector.h Modified: cfe/trunk/include/clang/AST/ASTVector.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTVector.h?rev=293488&r1=293487&r2=293488&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/ASTVector.h (original) +++ cfe/trunk/include/clang/AST/ASTVector.h Mon Jan 30 10:00:57 2017 @@ -22,6 +22,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/Support/type_traits.h" #include <algorithm> +#include <cstddef> #include <cstring> #include <memory> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits