Commit b220662a authored by Richard Smith's avatar Richard Smith
Browse files

Properly convert all declaration non-type template arguments when

forming non-type template parameter values.

This reverts commit 93cc9ddd,
which reverted commit 11d10527.

We now always form `&x` when forming a pointer to a function rather than
trying to use function-to-pointer decay. This matches the behavior of
the old code in this case, but not the intent as described by the
comments.
parent eaf6c22b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment