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&id=90027#toc
Rep
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 Stmt::CXXOperatorCal
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
===