Author: charusso Date: Sun Oct 13 03:59:30 2019 New Revision: 374715 URL: http://llvm.org/viewvc/llvm-project?rev=374715&view=rev Log: [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 4
Modified: clang-tools-extra/trunk/test/clang-tidy/Inputs/bugprone-not-null-terminated-result/not-null-terminated-result-c.h Modified: clang-tools-extra/trunk/test/clang-tidy/Inputs/bugprone-not-null-terminated-result/not-null-terminated-result-c.h URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/Inputs/bugprone-not-null-terminated-result/not-null-terminated-result-c.h?rev=374715&r1=374714&r2=374715&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clang-tidy/Inputs/bugprone-not-null-terminated-result/not-null-terminated-result-c.h (original) +++ clang-tools-extra/trunk/test/clang-tidy/Inputs/bugprone-not-null-terminated-result/not-null-terminated-result-c.h Sun Oct 13 03:59:30 2019 @@ -13,7 +13,7 @@ #pragma clang system_header -typedef unsigned int size_t; +typedef __typeof__(sizeof(int)) size_t; typedef int errno_t; size_t strlen(const char *str); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits