HomePhabricator

Don't treat a CXXScopeSpec with a nested name specifier but no location as…

Authored by rsmith on Apr 3 2020, 8:17 PM.

Description

Don't treat a CXXScopeSpec with a nested name specifier but no location as invalid.

We create those when forming trivial type source information with no
associated location, which, unfortunately, we do create in some cases
(when a TreeTransform with no base location is used to transform a
QualType).

This would previously lead to rejects-valid bugs when we misinterpreted
these constructs as having no nested-name-specifier.

Details

Committed
rsmithApr 3 2020, 8:20 PM
Parents
rG0f37454c7238: Fix typos in toy tutorial
Branches
Unknown
Tags
Unknown