diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-08-22 17:47:13 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-08-22 17:47:13 +0000 |
commit | a60d7fac096f086324e3131770a78d9de591515c (patch) | |
tree | 72f8adaf0f1a8d5f5780a7782fef59b27b7923da /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b5686c4e4eb633e686f268a8472d02b04c33dbc1 (diff) | |
download | llvm-a60d7fac096f086324e3131770a78d9de591515c.zip llvm-a60d7fac096f086324e3131770a78d9de591515c.tar.gz llvm-a60d7fac096f086324e3131770a78d9de591515c.tar.bz2 |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions