Sema: Check type compatibility with the most recent decl when merging
We would check the type information from the declaration found by lookup but we would neglect checking compatibility with the most recent declaration. This would make it possible for us to not correctly diagnose inconsistencies with declarations which were made in a different scope. llvm-svn: 225934
Loading
Please register or sign in to comment