commit | c88babe16cd5cc4fb563fd8bad194fdbdfa6260b | [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 | 6aca62a35994e2d0df92f8b2fed3b42652a204c4 | |
parent | 92590f959e73ea04355f2123187038d97bc0de84 [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... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45784 91177308-0d34-0410-b5e6-96231b3b80d8