diff options
author | Reid Kleckner <rnk@google.com> | 2016-12-13 20:25:47 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-12-13 20:25:47 +0000 |
commit | b1653c6cd726b2ebc9aa372a3cdb01fd6b1492af (patch) | |
tree | 9e6e7998390eef9071b64decee7fe6e6a425db34 /clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp | |
parent | d9af29969ae313a9b570a89ccea0788d145476f3 (diff) | |
download | bcm5719-llvm-b1653c6cd726b2ebc9aa372a3cdb01fd6b1492af.tar.gz bcm5719-llvm-b1653c6cd726b2ebc9aa372a3cdb01fd6b1492af.zip |
Fix size_t typdef in new cppcoreguidelines-no-malloc.cpp test
llvm-svn: 289580
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp index 8f840242a46..7b7ccf3b05e 100644 --- a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp +++ b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-no-malloc.cpp @@ -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); |