aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextStubCommon.cpp
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2022-01-13 12:51:48 +0100
committerSam McCall <sam.mccall@gmail.com>2022-01-13 12:55:16 +0100
commit971bd6f83440701cf95047b0f4e2baf75cd31c48 (patch)
tree9c2049ee6722bffbf9da0c187ca1c5d747703e41 /llvm/lib/TextAPI/TextStubCommon.cpp
parent61888d97f67d98afafc224620ee1f9ecc7d062d0 (diff)
downloadllvm-971bd6f83440701cf95047b0f4e2baf75cd31c48.zip
llvm-971bd6f83440701cf95047b0f4e2baf75cd31c48.tar.gz
llvm-971bd6f83440701cf95047b0f4e2baf75cd31c48.tar.bz2
Fix build failure with MSVC in C++20 mode
Without this patch when using CMAKE_CXX_STANDARD=20 and MSVC 19.30.30705.0 compilation fails with clang\lib\Tooling\Syntax\Tree.cpp(347): error C2666: 'clang::syntax::Tree::ChildIteratorBase<clang::syntax::Tree::ChildIterator,clang::syntax::Node>::operator ==': 4 overloads have similar conversions clang\lib\Tooling\Syntax\Tree.cpp(392): error C2666: 'clang::syntax::Tree::ChildIteratorBase<clang::syntax::Tree::ChildIterator,clang::syntax::Node>::operator ==': 4 overloads have similar conversions Note that removed comment that "iterator_facade_base requires == to be a member" was made obsolete by change https://reviews.llvm.org/D78938 Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D116904
Diffstat (limited to 'llvm/lib/TextAPI/TextStubCommon.cpp')
0 files changed, 0 insertions, 0 deletions