[PATCH] D74087: [Sema] Fix Sema checkArgCount function

2020-02-06 Thread Baptiste Saleil via Phabricator via cfe-commits
bsaleil updated this revision to Diff 242963. bsaleil added a comment. Adding test case CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74087/new/ https://reviews.llvm.org/D74087 Files: clang/lib/Sema/SemaChecking.cpp clang/test/Sema/custom-checking.c Index: clang/test/Sema/custom-

[PATCH] D74087: [Sema] Fix Sema checkArgCount function

2020-02-06 Thread Yi-Hong Lyu via Phabricator via cfe-commits
Yi-Hong.Lyu requested changes to this revision. Yi-Hong.Lyu added a comment. This revision now requires changes to proceed. Please add tests Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74087/new/ https://reviews.llvm.org/D74087 ___

[PATCH] D74087: [Sema] Fix Sema checkArgCount function

2020-02-05 Thread Baptiste Saleil via Phabricator via cfe-commits
bsaleil created this revision. bsaleil added a reviewer: rsmith. bsaleil added a project: clang. Herald added a subscriber: cfe-commits. This patch fixes the checkArgCount function in Sema that is used to check the number of arguments of a call when doing custom type-checking. The patch fixes tha