Skip to content
Commit 9bdd1bb4 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Revert r186040 to fix PR16597 while Richard investigates what the best

fix is.

Original commit log:
  If we friend a declaration twice, that should not make it visible to
  name lookup in the surrounding context. Slightly rework how we handle
  friend declarations to inherit the visibility of the prior
  declaration, rather than setting a friend declaration to be visible
  whenever there was a prior declaration.

llvm-svn: 186185
parent 5f1ef3c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment