]> granicus.if.org Git - clang/commit
Delay check for prototype on __fastcall functions until after MergeFunctionDecl.
authorNico Weber <nicolasweber@gmx.de>
Thu, 31 Jul 2014 17:19:18 +0000 (17:19 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 31 Jul 2014 17:19:18 +0000 (17:19 +0000)
commitf98c88757d5873fcb5ca3d54656b5380b71c4e95
tree045ff918d5d87f49ca377779fb21971e8308964f
parent60ec5f80d2f681874cf2199dbd38b77346f30bb4
Delay check for prototype on __fastcall functions until after MergeFunctionDecl.

In C, it is only known after merging decls if a function with 0 arguments has
a prototype.  Fixes PR20386, see that for more notes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214408 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp
test/Sema/decl-microsoft-call-conv.c [new file with mode: 0644]