diff options
| author | Ted Kremenek <kremenek@apple.com> | 2011-08-17 23:40:36 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2011-08-17 23:40:36 +0000 |
| commit | 4b53117c9942db2e08f18be25d9ccf7daf6af0b2 (patch) | |
| tree | 6485e1ed5baaeeeb504d3f3a8c67696319061d34 /lib/CodeGen/CodeGenModule.cpp | |
| parent | e7c4c4ccc6a51c82332382267b84e9d72f229b5e (diff) | |
| download | clang-4b53117c9942db2e08f18be25d9ccf7daf6af0b2.tar.gz clang-4b53117c9942db2e08f18be25d9ccf7daf6af0b2.tar.bz2 clang-4b53117c9942db2e08f18be25d9ccf7daf6af0b2.tar.xz | |
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).
Warning logic provided by Geoff Keating.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
