commit | 11dc6347bb01b766cf4f357d707ff789cba9114b | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Apr 25 20:12:36 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Apr 25 20:12:36 2013 +0000 |
tree | e1b3ee6e4581284590792ee6589dfc0efdd0317c | |
parent | a2338bc4c2887937478d302901fb41a53e14e6d6 [diff] |
Put friend decls in the correct context. When we find a friend declaration we have to skip transparent contexts for doing lookups, but we should not skip them when inserting the new decl if the lookup found nothing. Fixes PR15841. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180571 91177308-0d34-0410-b5e6-96231b3b80d8