summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
diff options
context:
space:
mode:
authorJonas Toth <jonas.toth@gmail.com>2017-10-18 16:14:15 +0000
committerJonas Toth <jonas.toth@gmail.com>2017-10-18 16:14:15 +0000
commitc9aea86e6af2bc1f7414f69f31428cf49273bf62 (patch)
treeeb9d59a48d895e2799a488c3b416a79a7d66bc89 /clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
parent13ce95b77f54aa4a7ff01a46a5faaa85001755a6 (diff)
downloadbcm5719-llvm-c9aea86e6af2bc1f7414f69f31428cf49273bf62.tar.gz
bcm5719-llvm-c9aea86e6af2bc1f7414f69f31428cf49273bf62.zip
[clang-tidy] introduce legacy resource functions to 'cppcoreguidelines-owning-memory'
Summary: This patch introduces support for legacy C-style resource functions that must obey the 'owner<>' semantics. - added legacy creators like malloc,fopen,... - added legacy consumers like free,fclose,... This helps codes that mostly benefit from owner: Legacy, C-Style code that isn't feasable to port directly to RAII but needs a step in between to identify actual resource management and just using the resources. Reviewers: aaron.ballman, alexfh, hokein Reviewed By: aaron.ballman Subscribers: nemanjai, JDevlieghere, xazax.hun, kbarton Differential Revision: https://reviews.llvm.org/D38396 llvm-svn: 316092
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud