| commit | 8806e32f162e3af2c22b600d7d4abdcca5bf7cfd | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sun Jul 10 00:18:59 2011 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sun Jul 10 00:18:59 2011 +0000 |
| tree | 48630569e47697696ae4e86f7028b08adac8b346 | |
| parent | 7161661863c55bc383cb3803958d372ecf0a9980 [diff] |
Rename CGT::VerifyFuncTypeComplete to isFuncTypeConvertible since
it is a predicate, not an action. Change the return type to be a bool,
not the incomplete member. Enhace it to detect the recursive compilation
case, allowing us to compile Eli's testcase on llvmdev:
struct T {
struct T (*p)(void);
} t;
into:
%struct.T = type { {}* }
@t = common global %struct.T zeroinitializer, align 8
llvm-svn: 134853