summaryrefslogtreecommitdiff
path: root/test/Sema/warn-strlcpycat-size.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-08-19 14:35:32 +0000
committerTed Kremenek <kremenek@apple.com>2011-08-19 14:35:32 +0000
commit00fd773ae92aa452be1bb139a186599b2c43531a (patch)
treed48b4f4bd3d46b513a2ad7613d7146ece6e97952 /test/Sema/warn-strlcpycat-size.c
parent7d23b4a6e855f156bbd30cf2702ebbeb5bc57028 (diff)
downloadclang-00fd773ae92aa452be1bb139a186599b2c43531a.tar.gz
Rename -Wstrl-incorrect-size to -Wstrlcpy-strlcat-size. This warning really is just specific to strlcpy and strlcat.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/warn-strlcpycat-size.c')
-rw-r--r--test/Sema/warn-strlcpycat-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/warn-strlcpycat-size.c b/test/Sema/warn-strlcpycat-size.c
index 34830120d5..8babdde276 100644
--- a/test/Sema/warn-strlcpycat-size.c
+++ b/test/Sema/warn-strlcpycat-size.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wstrl-incorrect-size -verify -fsyntax-only %s
+// RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s
typedef __SIZE_TYPE__ size_t;
size_t strlcpy (char * restrict dst, const char * restrict src, size_t size);