Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a new check, readability-simplify-subscript-expr, that diagnoses array ↵ | Aaron Ballman | 2018-05-16 | 1 | -0/+23 |
subscript expressions that can be simplified. Currently, diagnoses code that calls container.data()[some_index] when the container exposes a suitable operator[]() method that can be used directly. Patch by Shuai Wang. llvm-svn: 332519 |