forked from OSchip/llvm-project
Add parser support for __builtin_stdarg_start, PR2531
llvm-svn: 53328
This commit is contained in:
parent
dad7a35acf
commit
b218272778
|
@ -99,6 +99,7 @@ BUILTIN(__builtin___CFStringMakeConstantString, "FC*cC*", "nc")
|
|||
BUILTIN(__builtin_va_start, "va&.", "n")
|
||||
BUILTIN(__builtin_va_end, "va&", "n")
|
||||
BUILTIN(__builtin_va_copy, "va&a", "n")
|
||||
BUILTIN(__builtin_stdarg_start, "va&a", "n")
|
||||
BUILTIN(__builtin_memcpy, "v*v*vC*z", "n")
|
||||
BUILTIN(__builtin_return_address, "v*Ui", "n")
|
||||
BUILTIN(__builtin_frame_address, "v*Ui", "n")
|
||||
|
|
|
@ -205,7 +205,8 @@ ScopedDecl *Sema::LazilyCreateBuiltin(IdentifierInfo *II, unsigned bid,
|
|||
|
||||
if (BID == Builtin::BI__builtin_va_start ||
|
||||
BID == Builtin::BI__builtin_va_copy ||
|
||||
BID == Builtin::BI__builtin_va_end)
|
||||
BID == Builtin::BI__builtin_va_end ||
|
||||
BID == Builtin::BI__builtin_stdarg_start)
|
||||
InitBuiltinVaListType();
|
||||
|
||||
QualType R = Context.BuiltinInfo.GetBuiltinType(BID, Context);
|
||||
|
|
Loading…
Reference in New Issue