[clang-tools-extra] r289580 - Fix size_t typdef in new cppcoreguidelines-no-malloc.cpp test
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 13 12:25:47 PST 2016
Author: rnk
Date: Tue Dec 13 14:25:47 2016
New Revision: 289580
URL: http://llvm.org/viewvc/llvm-project?rev=289580&view=rev
Log:
Fix size_t typdef in new cppcoreguidelines-no-malloc.cpp test
Modified:
clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-no-malloc.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-no-malloc.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-no-malloc.cpp?rev=289580&r1=289579&r2=289580&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-no-malloc.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-no-malloc.cpp Tue Dec 13 14:25:47 2016
@@ -1,6 +1,6 @@
// RUN: %check_clang_tidy %s cppcoreguidelines-no-malloc %t
-using size_t = unsigned long;
+using size_t = __SIZE_TYPE__;
void *malloc(size_t size);
void *calloc(size_t num, size_t size);
More information about the cfe-commits
mailing list