diff options
author | Anna Zaks <ganna@apple.com> | 2012-02-01 19:08:57 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-02-01 19:08:57 +0000 |
commit | 314cd09b5c79fcf2173e5650f4a470af673844f8 (patch) | |
tree | 39636809fc2fdab1a4050bfb476f464f2c0a2984 /clang/test/Analysis/cstring-syntax-cxx.cpp | |
parent | fdad6794ac8008bea0413fb5c7468f80ca392ca3 (diff) | |
download | llvm-314cd09b5c79fcf2173e5650f4a470af673844f8.zip llvm-314cd09b5c79fcf2173e5650f4a470af673844f8.tar.gz llvm-314cd09b5c79fcf2173e5650f4a470af673844f8.tar.bz2 |
Add a new compiler warning, which flags anti-patterns used as the size
argument in strncat.
The warning is ignored by default since it needs more qualification.
TODO: The warning message and the note are messy when
strncat is a builtin due to the macro expansion.
llvm-svn: 149524
Diffstat (limited to 'clang/test/Analysis/cstring-syntax-cxx.cpp')
0 files changed, 0 insertions, 0 deletions