[PATCH] D26167: [Clang-tidy] check for malloc, realloc and free calls
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 13 12:35:12 PST 2016
rnk added a comment.
nit: All of the new files had UTF-8 BOMs, which I don't think we usually add.
================
Comment at: test/clang-tidy/cppcoreguidelines-no-malloc.cpp:3
+
+using size_t = unsigned long;
+
----------------
This test did not pass on 32-bit Windows. I will change it to:
using size_t = __SIZE_TYPE__;
Repository:
rL LLVM
https://reviews.llvm.org/D26167
More information about the cfe-commits
mailing list