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); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits