[PATCH] D13720: Use __SIZE_TYPE__ to fix buildbot failures.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 02:55:47 PDT 2015


angelgarcia created this revision.
angelgarcia added a reviewer: klimek.
angelgarcia added a subscriber: cfe-commits.

Use __SIZE_TYPE__ to fix buildbot failures.

http://reviews.llvm.org/D13720

Files:
  test/clang-tidy/modernize-make-unique.cpp

Index: test/clang-tidy/modernize-make-unique.cpp
===================================================================
--- test/clang-tidy/modernize-make-unique.cpp
+++ test/clang-tidy/modernize-make-unique.cpp
@@ -48,7 +48,7 @@
 
 template<class T> using unique_ptr_ = std::unique_ptr<T>;
 
-void *operator new(unsigned long Count, void *Ptr);
+void *operator new(__SIZE_TYPE__ Count, void *Ptr);
 
 int g(std::unique_ptr<int> P);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13720.37326.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151014/c9913cbd/attachment-0001.bin>


More information about the cfe-commits mailing list