summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-12 17:17:28 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-12 17:17:28 +0000
commit8870a493104d0b7823e617aef98f055fba18fb71 (patch)
tree9a2ef2951167eb26397dac29356aeba96d8ba13c /clang/lib/AST/ASTContext.cpp
parent8e661e15f211b9b8e3ac785d05a7bb207c5eedd4 (diff)
downloadbcm5719-llvm-8870a493104d0b7823e617aef98f055fba18fb71.tar.gz
bcm5719-llvm-8870a493104d0b7823e617aef98f055fba18fb71.zip
Fix a latent bug found by Ahmed Charles, where we were calling
ASTContext::getFunctionType with the wrong set of arguments. llvm-svn: 95986
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 6ac989041ab..1112aa97b8c 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -4367,7 +4367,7 @@ QualType ASTContext::mergeFunctionTypes(QualType lhs, QualType rhs) {
if (allRTypes) return rhs;
return getFunctionType(retType, types.begin(), types.size(),
lproto->isVariadic(), lproto->getTypeQuals(),
- NoReturn, lcc);
+ false, false, 0, 0, NoReturn, lcc);
}
if (lproto) allRTypes = false;
OpenPOWER on IntegriCloud