diff options
author | Clement Courbet <courbet@google.com> | 2018-05-18 07:18:56 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-05-18 07:18:56 +0000 |
commit | da3f49a435004f588baa4e2bb2dd352bef753a15 (patch) | |
tree | d3c3b6a04be8dcd463e404bdb52d1f640bc276fb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6e07dfb148a6fd5ed3fb6097e884bd4ecebb9239 (diff) | |
download | bcm5719-llvm-da3f49a435004f588baa4e2bb2dd352bef753a15.tar.gz bcm5719-llvm-da3f49a435004f588baa4e2bb2dd352bef753a15.zip |
[llvm-exegesis] Fix compile error on VS.
llvm::BitVector::const_set_bits_iterator is not formally a
ForwardIterator. Using it as such results in compile time errors on some
compilers:
FAILED: unittests/tools/llvm-exegesis/X86/CMakeFiles/LLVMExegesisX86Tests.dir/RegisterAliasingTest.cpp.obj
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xutility(967): error C2794: 'iterator_category': is not a member of any direct or indirect base class of 'std::iterator_traits<_InIt>'
with
[
_InIt=llvm::BitVector::const_set_bits_iterator
]
llvm-svn: 332697
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions