commit | a60d7fac096f086324e3131770a78d9de591515c | [log] [tgz] |
---|---|---|
author | Eric Fiselier <[email protected]> | Wed Aug 22 17:47:13 2018 |
committer | Eric Fiselier <[email protected]> | Wed Aug 22 17:47:13 2018 |
tree | 72f8adaf0f1a8d5f5780a7782fef59b27b7923da | |
parent | b5686c4e4eb633e686f268a8472d02b04c33dbc1 [diff] |
Add diagnostics for min/max algorithms when a InputIterator is used. These algorithms require a ForwardIterator or better. Ensure we diagnose the contract violation at compile time instead of of silently doing the wrong thing. Further algorithms will be audited in upcoming patches. llvm-svn: 340426