-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang-tidy] Access checks not done classes derived of std::array
Index accessing checks are not performed for derived classes of of `std::array`, as only `std::array` itself and its aliases seems to be checked. This patch aims to extend it for derived classes such as: ``` template<class T, size_t N> class DerivedArray : public std::array<T, N> {}; ``` Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D156624
- Loading branch information
1 parent
e9e4584
commit 41818ce
Showing
3 changed files
with
84 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters