diff options
author | ngie <ngie@FreeBSD.org> | 2016-01-04 03:02:44 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-01-04 03:02:44 +0000 |
commit | f07e33e8a7782c39ce932cab9600b47fab67c1fa (patch) | |
tree | ee19aba866e67913c1fad3edcd1ee951dd1f1468 /contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp | |
parent | 9b4418aa8d6f85dd915094780464f0b93ba4fb11 (diff) | |
download | FreeBSD-src-f07e33e8a7782c39ce932cab9600b47fab67c1fa.zip FreeBSD-src-f07e33e8a7782c39ce932cab9600b47fab67c1fa.tar.gz |
Rename nitems and string variables to avoid collisions
Rename the `nitems` variable to `num_items` to avoid collisions with the
macro in sys/param.h for counting elements in an array
Similarly, rename `string` to `string_arr` to avoid future collisions with
potential keywords, as well as make it clear that `string_arr` isn't a char*
value, but instead a char** value.
Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff)
MFC after: 5 days
Reviewed by: oshogbo
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp')
0 files changed, 0 insertions, 0 deletions