[clang-tools-extra] r374715 - [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 4
Csaba Dabis via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 13 03:59:31 PDT 2019
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);
More information about the cfe-commits
mailing list