| commit | c6edcbdb5d849db2dd8ef4122873006b51726b1a | [log] [tgz] |
|---|---|---|
| author | Steve Naroff <snaroff@apple.com> | Wed Jan 09 22:43:08 2008 +0000 |
| committer | Steve Naroff <snaroff@apple.com> | Wed Jan 09 22:43:08 2008 +0000 |
| tree | 9a9f8771440939ad697abf93d9372c65a88fa521 | |
| parent | 436db42a3c2229a2ffb2994aa6776402a4b893bb [diff] |
Fix ASTContext::typesAreCompatible to allow for int/enum compatibility (C99 6.7.2.2p4). Fix Sema::MergeFunctionDecl to allow for function type compatibility (by using the predicate on ASTContext). Function types don't have to be identical to be compatible... llvm-svn: 45784