aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authordiggerlin <digger.llvm@gmail.com>2019-12-06 12:22:28 -0500
committerdiggerlin <digger.llvm@gmail.com>2019-12-06 12:22:28 -0500
commitc04b63eccd5f9fc19da410caea88d29f11e9886c (patch)
tree2166ad0bdd12133423dbe857c262cecee2da7267 /llvm/unittests/Support/CommandLineTest.cpp
parentb6f9d7b8fb2eb6b78ac93ebd5ea4e36c04469285 (diff)
downloadllvm-c04b63eccd5f9fc19da410caea88d29f11e9886c.zip
llvm-c04b63eccd5f9fc19da410caea88d29f11e9886c.tar.gz
llvm-c04b63eccd5f9fc19da410caea88d29f11e9886c.tar.bz2
[NFC][AIX][XCOFF] fixed compile warning on the strncpy.
SUMMARY: There is warning when compile the file XCOFFObjectWriter.cpp /srv/llvm-buildbot-srcatch/llvm-build-dir/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/lib/MC/XCOFFObjectWriter.cpp:414:17: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 8 equals destination size [-Wstringop-truncation] The patch fixed the warning. Reviewer: daltenty Differential Revision: https://reviews.llvm.org/D71119
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions