forked from OSchip/llvm-project
Fix a latent bug found by Ahmed Charles, where we were calling
ASTContext::getFunctionType with the wrong set of arguments. llvm-svn: 95986
This commit is contained in:
parent
8e661e15f2
commit
8870a49310
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue