]> granicus.if.org Git - clang/commit
implement test/Sema/typedef-prototype.c, allowing code
authorChris Lattner <sabre@nondot.org>
Wed, 14 Nov 2007 06:34:38 +0000 (06:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 14 Nov 2007 06:34:38 +0000 (06:34 +0000)
commit41af093ee62a4aea948ffef4482c9e2a496d710e
tree8a4af28b5790bd0c5e0a32d4fddf4bb5edf78c85
parentb7fa992be16668b61f722e6e125137216860469e
implement test/Sema/typedef-prototype.c, allowing code
to declare a function with a typedef:

typedef int unary_int_func(int arg);
unary_int_func add_one;

This patch contributed by Seo Sanghyeon!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44100 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/Sema.h
Sema/SemaDecl.cpp
test/Sema/typedef-prototype.c [new file with mode: 0644]