aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-08-17 23:40:36 +0000
committerTed Kremenek <kremenek@apple.com>2011-08-17 23:40:36 +0000
commitd5fe9e4d9741022ad10da2abf325b5323bdb0ae1 (patch)
tree6aa5d472cb0c0b05dd311591300df29d948fef0e /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parenta90896397bbe4c01d6d7572627a6b0ff2a39c239 (diff)
downloadllvm-d5fe9e4d9741022ad10da2abf325b5323bdb0ae1.zip
llvm-d5fe9e4d9741022ad10da2abf325b5323bdb0ae1.tar.gz
llvm-d5fe9e4d9741022ad10da2abf325b5323bdb0ae1.tar.bz2
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. llvm-svn: 137903
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions