Skip to content
Commit fdf0888b authored by Richard Smith's avatar Richard Smith
Browse files

Don't try to use !Previous.empty() as a proxy for "Is this a redeclaration?" --

we don't collapse that down to a single entry if it's not a redeclaration.
Instead, set the Redeclaration bit on the Declarator to indicate whether a
function is a redeclaration (which may not have been linked into the
redeclaration chain if it's a dependent context friend).

Fixes a rejects-valid; see testcase.

llvm-svn: 284802
parent 81440dc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment