mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 01:06:46 +00:00
Add support for compilers with arg dependent name lookup, contributed by
Bjørn Wennberg git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
17a213ad8b
commit
6d8dbecff2
@ -656,7 +656,8 @@ static bool setTypeName(const Type *T, char *NameStr) {
|
||||
// TypeContains - Returns true if Ty directly contains E in it.
|
||||
//
|
||||
static bool TypeContains(const Type *Ty, const Type *E) {
|
||||
return find(Ty->subtype_begin(), Ty->subtype_end(), E) != Ty->subtype_end();
|
||||
return std::find(Ty->subtype_begin(), Ty->subtype_end(),
|
||||
E) != Ty->subtype_end();
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user