]> granicus.if.org Git - clang/commit
When instantiating a function that was declared via a typedef, e.g.,
authorDouglas Gregor <dgregor@apple.com>
Tue, 4 May 2010 18:18:31 +0000 (18:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 4 May 2010 18:18:31 +0000 (18:18 +0000)
commit5f970eee81372dfc6a1457c3d6d052af04e32a38
tree8f43d6ca1f72dd9f7b6a59c8041060f148984687
parentd33ded52b06f7be00b95c1ce546924b4468adf9a
When instantiating a function that was declared via a typedef, e.g.,

    typedef int functype(int, int);
    functype func;

also instantiate the synthesized function parameters for the resulting
function declaration.

With this change, Boost.Wave builds and passes all of its regression
tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103025 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/Sema/function-redecl.c
test/SemaTemplate/instantiate-function-params.cpp