summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMatthias Gehre <M.Gehre@gmx.de>2015-10-26 21:56:02 +0000
committerMatthias Gehre <M.Gehre@gmx.de>2015-10-26 21:56:02 +0000
commitf33319699dbf6f4a7b2f0e816b01d719706ea0b1 (patch)
tree8611000af3126e050cb9cf76d7fbcbb6bfb6cdb4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente9b500f722e1497ad83baacfe21057993ff44ed3 (diff)
[clang-tidy] Add new check cppcoreguidelines-pro-bounds-array-to-pointer-decay
Summary: This check flags all array to pointer decays. Pointers should not be used as arrays. array_view is a bounds-checked, safe alternative to using pointers to access arrays. This rule is part of the "Bounds safety" profile of the C++ Core Guidelines, see https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#-bounds3-no-array-to-pointer-decay Reviewers: alexfh, sbenza, bkramer, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13640 llvm-svn: 251358
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions