Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline entries incorrect for specialized template classes containing namespace scopes #12908

Open
Colengms opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@Colengms
Copy link
Collaborator

Repro code:

namespace test_namespace
{
	class A
	{
	};
}

template <typename T2>
class B
{
};

template <>
class B<test_namespace::A>
{
};

Resulting outline:

Image

It looks like a :'s from the namespace scope operator is being misinterpreted as a base-specifier colon.

(Maybe a possible fix would involve use of the lexer/BraceMatcher.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Triage
Development

No branches or pull requests

1 participant