]> granicus.if.org Git - clang/commit
Revert r137903, "Add experimental -Wstrlcpy-size warning that looks to see if the...
authorTed Kremenek <kremenek@apple.com>
Thu, 18 Aug 2011 02:18:02 +0000 (02:18 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 18 Aug 2011 02:18:02 +0000 (02:18 +0000)
commit1cb4f664fd4f72a65a145e9ff8a7e2540ab09156
treee7c8d9dd0533195981ba891d6018fbc172cd94e9
parent7e9e74b0cc298f206dcb173bd056da8556010202
Revert r137903, "Add experimental -Wstrlcpy-size warning that looks to see if the size argument for strlcpy/strlcat is the size of the *source*, and not the size of the *destination*.  This warning is off by default (for now)."

This currently doesn't work on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137920 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaChecking.cpp
test/Sema/warn-strlcpycat-size.c [deleted file]