HomePhabricator

PR45294: Fix handling of assumed template names looked up in the lexical scope.

Authored by rsmith on Mar 27 2020, 8:59 PM.

Description

PR45294: Fix handling of assumed template names looked up in the lexical scope.

There are a few contexts in which we assume a name is a template name;
if such a context is one where we should perform an unqualified lookup,
and lookup finds nothing, we would form a dependent template name even
if the name is not dependent. This happens in particular for the lookup
of a pseudo-destructor.

In passing, rename ActOnDependentTemplateName to just ActOnTemplateName
given that we apply it for non-dependent template names too.

Details

Committed
rsmithMar 27 2020, 9:07 PM
Parents
rG9dd92a569721: Remove spurious duplicated header include (NFC)
Branches
Unknown
Tags
Unknown