Fix a little typo... per cfe-dev, this was apparently causing test

failures on OS X in some cases.  (Thank you valgrind.)

llvm-svn: 47568
This commit is contained in:
Eli Friedman 2008-02-25 22:11:40 +00:00
parent 2ff975e749
commit 0992b38a78
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}