summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-09-30 22:52:22 +0000
committerTed Kremenek <kremenek@apple.com>2011-09-30 22:52:22 +0000
commite4653a4b4ba4c3fd750cfe6d891c0ded4411cb81 (patch)
tree42a5cc2fe9c3bdc2b13c1b4e69dffbe95e9fdeb9
parentf40df1d46c1964c216982d47a4a246ad463e1b3f (diff)
downloadbcm5719-llvm-e4653a4b4ba4c3fd750cfe6d891c0ded4411cb81.tar.gz
bcm5719-llvm-e4653a4b4ba4c3fd750cfe6d891c0ded4411cb81.zip
Enable -Wstrlcpy-strlcat-size by default.
llvm-svn: 140900
-rw-r--r--clang/include/clang/Basic/DiagnosticSemaKinds.td1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td
index 1b974b0c024..b11b94c73be 100644
--- a/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/clang/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<DiagGroup<"strlcpy-strlcat-size">>;
def note_strlcpycat_wrong_size : Note<
"change size argument to be the size of the destination">;
OpenPOWER on IntegriCloud