llvm / llvm/llvm-project

Lookup for a dependent nested type as a base-specifier should be type-only

Open
#162,813 2 comments 0 reactions 0 assignees View on GitHub
clang:frontend
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked Compiler Explorer case and trace Clang's lookup handling for dependent names in a base-specifier or class-or-decltype. The fix is complete when the S2 instantiation accepts the nested type B while ignoring A::B's non-type member, with regression coverage for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.