commit | 91cc1431cbd80f0ede7b898e3c15798e273a4716 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Wed Apr 30 00:49:32 2014 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Wed Apr 30 00:49:32 2014 +0000 |
tree | 4ebce55ec3f2a03a5ba7cfe7eb5cfe414cfaa0d3 | |
parent | 1ea858937c0a2513b1d042c4baf83fd879beebba [diff] |
[ADT] Provide some helpful static_asserts for using operations of the wrong iterator category. These aren't comprehensive, but they have caught the common cases for me and produce much nicer errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207601 91177308-0d34-0410-b5e6-96231b3b80d8