diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-02-12 17:17:28 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-02-12 17:17:28 +0000 |
| commit | 8870a493104d0b7823e617aef98f055fba18fb71 (patch) | |
| tree | 9a2ef2951167eb26397dac29356aeba96d8ba13c /clang/lib/AST/ASTContext.cpp | |
| parent | 8e661e15f211b9b8e3ac785d05a7bb207c5eedd4 (diff) | |
| download | bcm5719-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.cpp | 2 |
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; |

