Simplify and correct the check for function redefinitions. This does two things:

  - Allows definitions of overloaded functions :)
  - Eliminates extraneous error messages when we have a definition of a 
    function that isn't an overload but doesn't have exactly the same type
    as the original.
  

llvm-svn: 58382
3 files changed
tree: 7b05bdcb993f90aeb4d7ef97011f68340e1205a1
  1. clang/
  2. llvm/