From: Eli Friedman Date: Mon, 25 Feb 2008 22:11:40 +0000 (+0000) Subject: Fix a little typo... per cfe-dev, this was apparently causing test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56cd7e3848c2d59ca2ec3b72d0834192edf0bcdf;p=clang Fix a little typo... per cfe-dev, this was apparently causing test failures on OS X in some cases. (Thank you valgrind.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47568 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp index a636e8d8bb..2487abaecd 100644 --- a/AST/ASTContext.cpp +++ b/AST/ASTContext.cpp @@ -726,7 +726,7 @@ QualType ASTContext::getFunctionTypeNoProto(QualType ResultTy) { FunctionTypeNoProto *New = new FunctionTypeNoProto(ResultTy, Canonical); Types.push_back(New); - FunctionTypeProtos.InsertNode(New, InsertPos); + FunctionTypeNoProtos.InsertNode(New, InsertPos); return QualType(New, 0); }