aboutsummaryrefslogtreecommitdiff
path: root/AST/ASTContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AST/ASTContext.cpp')
-rw-r--r--AST/ASTContext.cpp2
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);
}