]> granicus.if.org Git - clang/commit
When we're calling a function that we know based on its K&R-style
authorDouglas Gregor <dgregor@apple.com>
Mon, 25 Oct 2010 20:39:23 +0000 (20:39 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 25 Oct 2010 20:39:23 +0000 (20:39 +0000)
commit4654241866c91fa312d7b26d5eb4afd070b5c602
tree4e2a23fe1c922d0805c70b23986bf04af9580d61
parent0d4f7671882a4e902f12504b46eb486dfbf58515
When we're calling a function that we know based on its K&R-style
function definition, we should still use a prototype to type-check and
convert the function arguments, if such a prototype exists. Fixes
PR8314.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/knr-def-call.c