diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-02-25 22:11:40 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-02-25 22:11:40 +0000 |
commit | 56cd7e3848c2d59ca2ec3b72d0834192edf0bcdf (patch) | |
tree | 7b3764e810ae954cc41e647d868b5ab2855d1bd8 | |
parent | c9dde4f9572423723d9490336799f68050dfefa6 (diff) |
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
-rw-r--r-- | AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |