From: Ted Kremenek Date: Wed, 9 Jul 2008 17:58:53 +0000 (+0000) Subject: Extend va_start checking to include __builtin_stdarg_start. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49ff7a1c8c67d56e62d3b4627463b705c0d5008c;p=clang Extend va_start checking to include __builtin_stdarg_start. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53332 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index b328b2fbb3..5f0b48b3d8 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -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;