[clang-tools-extra] r250288 - Use __SIZE_TYPE__ to fix buildbot failures.
Angel Garcia Gomez via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 03:30:32 PDT 2015
Author: angelgarcia
Date: Wed Oct 14 05:30:32 2015
New Revision: 250288
URL: http://llvm.org/viewvc/llvm-project?rev=250288&view=rev
Log:
Use __SIZE_TYPE__ to fix buildbot failures.
Summary: Use __SIZE_TYPE__ to fix buildbot failures.
Reviewers: klimek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D13720
Modified:
clang-tools-extra/trunk/test/clang-tidy/modernize-make-unique.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/modernize-make-unique.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/modernize-make-unique.cpp?rev=250288&r1=250287&r2=250288&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/modernize-make-unique.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/modernize-make-unique.cpp Wed Oct 14 05:30:32 2015
@@ -48,7 +48,7 @@ struct Empty {};
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);
More information about the cfe-commits
mailing list