commit | c36bedc90c687caa71748480c60707ea4608b092 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Wed Feb 01 19:08:57 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Wed Feb 01 19:08:57 2012 +0000 |
tree | a21d9b6834bf018c6254d1760f20707d7125394a | |
parent | b710dfe5231b0cd44dd987b9bd33c7f6ac165807 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149524 91177308-0d34-0410-b5e6-96231b3b80d8