forked from OSchip/llvm-project
Make default arguments to getFunctionNoProtoType an all or nothing option (as they already are in practise).
llvm-svn: 99785
This commit is contained in:
parent
2ac0582419
commit
3e69c3ed31
|
@ -555,8 +555,11 @@ public:
|
|||
|
||||
/// getFunctionNoProtoType - Return a K&R style C function type like 'int()'.
|
||||
///
|
||||
QualType getFunctionNoProtoType(QualType ResultTy, bool NoReturn = false,
|
||||
CallingConv CallConv = CC_Default);
|
||||
QualType getFunctionNoProtoType(QualType ResultTy, bool NoReturn,
|
||||
CallingConv CallConv);
|
||||
QualType getFunctionNoProtoType(QualType ResultTy) {
|
||||
return getFunctionNoProtoType(ResultTy, false, CC_Default);
|
||||
}
|
||||
|
||||
/// getFunctionType - Return a normal function type with a typed argument
|
||||
/// list. isVariadic indicates whether the argument list includes '...'.
|
||||
|
|
Loading…
Reference in New Issue