Add support for compilers with arg dependent name lookup, contributed by
authorChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 16:13:53 +0000 (16:13 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 16:13:53 +0000 (16:13 +0000)
Bjørn Wennberg

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18628 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/llvmAsmParser.y

index 070e978ffea476f071d3b88e653652d2dafb4ba7..75b7ff51eb2144880bb6f6bea3b29a7a9a1d5409 100644 (file)
@@ -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 {