]> granicus.if.org Git - clang/commit
Fix the argument index error of __builtin___memccpy_chk
authorSteven Wu <stevenwu@apple.com>
Wed, 24 Sep 2014 04:37:33 +0000 (04:37 +0000)
committerSteven Wu <stevenwu@apple.com>
Wed, 24 Sep 2014 04:37:33 +0000 (04:37 +0000)
commit4c667d6141afc0aae6ab2b877903989ced0330b0
tree91febfef71a74fb739ebb42c9928ae20b2245791
parentc056275a8272a5cf203d97e14a9cf9a96b53ee6f
Fix the argument index error of __builtin___memccpy_chk

memccpy_check should have source and dest size at arg 3 and 4
rdar://18431336

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218367 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/builtin-object-size.c