]> granicus.if.org Git - clang/commitdiff
Enable -Wstrlcpy-strlcat-size by default.
authorTed Kremenek <kremenek@apple.com>
Fri, 30 Sep 2011 22:52:22 +0000 (22:52 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 30 Sep 2011 22:52:22 +0000 (22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140900 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 1b974b0c0240dd702f395faa450e44e59bef0298..b11b94c73be4addd680edf3d510984f2270bc457 100644 (file)
@@ -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">;