forked from OSchip/llvm-project
Enable -Wstrlcpy-strlcat-size by default.
llvm-svn: 140900
This commit is contained in:
parent
f40df1d46c
commit
e4653a4b4b
|
@ -282,7 +282,6 @@ def warn_sizeof_pointer_type_memaccess : Warning<
|
|||
def warn_strlcpycat_wrong_size : Warning<
|
||||
"size argument in %0 call appears to be size of the source; expected the size of "
|
||||
"the destination">,
|
||||
DefaultIgnore,
|
||||
InGroup<DiagGroup<"strlcpy-strlcat-size">>;
|
||||
def note_strlcpycat_wrong_size : Note<
|
||||
"change size argument to be the size of the destination">;
|
||||
|
|
Loading…
Reference in New Issue