Extend va_start checking to include __builtin_stdarg_start.
llvm-svn: 53332
This commit is contained in:
parent
0bf679180c
commit
a174c5270f
|
@ -45,6 +45,7 @@ Sema::CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCallRaw) {
|
|||
if (CheckBuiltinCFStringArgument(TheCall->getArg(0)))
|
||||
return true;
|
||||
return TheCall.take();
|
||||
case Builtin::BI__builtin_stdarg_start:
|
||||
case Builtin::BI__builtin_va_start:
|
||||
if (SemaBuiltinVAStart(TheCall.get()))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue