diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-09 17:58:53 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-09 17:58:53 +0000 |
commit | 49ff7a1c8c67d56e62d3b4627463b705c0d5008c (patch) | |
tree | 337158fbf64c4d5198246092166f18fe49de0c6e /lib/Sema/SemaChecking.cpp | |
parent | 6a705f0443f8398ece14d80e71d8e8c9e71aa84a (diff) |
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
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |