Skip to content
Commit 314cd09b authored by Anna Zaks's avatar Anna Zaks
Browse files

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
parent fdad6794
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment