diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c b/clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c index 48f8c278c86..ea9d46ac5c9 100644 --- a/clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c +++ b/clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated-result-strlen.c @@ -1,6 +1,11 @@ // RUN: %check_clang_tidy %s bugprone-not-null-terminated-result %t -- \ // RUN: -- -std=c11 -I %S/Inputs/bugprone-not-null-terminated-result +// FIXME: Something wrong with the APInt un/signed conversion on Windows: +// in 'strncmp(str6, "string", 7);' it tries to inject '4294967302' as length. + +// UNSUPPORTED: system-windows + #include "not-null-terminated-result-c.h" #define __STDC_LIB_EXT1__ 1 |