[cfe-commits] r53332 - /cfe/trunk/lib/Sema/SemaChecking.cpp
Ted Kremenek
kremenek at apple.com
Wed Jul 9 10:58:54 PDT 2008
Author: kremenek
Date: Wed Jul 9 12:58:53 2008
New Revision: 53332
URL: http://llvm.org/viewvc/llvm-project?rev=53332&view=rev
Log:
Extend va_start checking to include __builtin_stdarg_start.
Modified:
cfe/trunk/lib/Sema/SemaChecking.cpp
Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=53332&r1=53331&r2=53332&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/lib/Sema/SemaChecking.cpp Wed Jul 9 12:58:53 2008
@@ -45,6 +45,7 @@
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;
More information about the cfe-commits
mailing list