]> granicus.if.org Git - clang/commit
Delay complete-type checking for arguments to no-prototype functions
authorDouglas Gregor <dgregor@apple.com>
Tue, 26 Oct 2010 05:45:40 +0000 (05:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 26 Oct 2010 05:45:40 +0000 (05:45 +0000)
commit0700bbfbccc639f093f0e2a9b2ae94a213f218b4
treeb6f33f51c9f62b4f9fc413fb9f958f5d375dbbb3
parentac65c6208d48b0f9b4661c30c28997a280ac5ba6
Delay complete-type checking for arguments to no-prototype functions
until after we've checked/promoted the argument. Hopefully fixes the
Emacs regression due to my recent change that expanded type-checking
in the presence of K&R function definitions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117353 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp