"size argument in %0 call appears to be size of the source; expected the size of "
"the destination">,
DefaultIgnore,
- InGroup<DiagGroup<"strl-incorrect-size">>;
+ InGroup<DiagGroup<"strlcpy-strlcat-size">>;
def note_strlcpycat_wrong_size : Note<
"change size argument to be the size of the destination">;
-// 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);