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

PR42513: Enter the proper DeclContext before substituting into an

default template argument expression.

We already did this for type template parameters and template template
parameters, but apparently forgot to do so for non-type template
parameters. This causes the substituted default argument expression to
be substituted in the proper context, and in particular to properly mark
its subexpressions as odr-used.

llvm-svn: 369834
parent 3f6dd0c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment