[PATCH] D30192: [Sema] Detecting more array index out of bounds

2017-02-28 Thread Daniel Marjamäki via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL296477: [Sema] Detect more array index out of bounds when C++ overloaded operators are… (authored by danielmarjamaki). Changed prior to commit: https://reviews.llvm.org/D30192?vs=89183=90027#toc

[PATCH] D30192: [Sema] Detecting more array index out of bounds

2017-02-27 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. A few minor nits that can be resolved when you commit, but aside from those, LGTM. Comment at: lib/Sema/SemaChecking.cpp:10613 + case

[PATCH] D30192: [Sema] Detecting more array index out of bounds

2017-02-21 Thread Daniel Marjamäki via Phabricator via cfe-commits
danielmarjamaki created this revision. Diagnose array index out of bounds when there is overloaded C++ operators also. Repository: rL LLVM https://reviews.llvm.org/D30192 Files: lib/Sema/SemaChecking.cpp test/SemaCXX/array-bounds.cpp Index: test/SemaCXX/array-bounds.cpp