From: Ted Kremenek Date: Fri, 30 Sep 2011 22:52:22 +0000 (+0000) Subject: Enable -Wstrlcpy-strlcat-size by default. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5202a4d0bbd9b9a98958b2d9869e38b3f118b73c;p=clang Enable -Wstrlcpy-strlcat-size by default. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140900 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 1b974b0c02..b11b94c73b 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -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>; def note_strlcpycat_wrong_size : Note< "change size argument to be the size of the destination">;