-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Labels
c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"conceptsC++20 conceptsC++20 concepts
Description
Given the following code, the FoundDecl
is null in the Foo
's AST node (ConceptReference
).
namespace ns {
template<typename T> concept Foo = true;
}
using ns::Foo;
template<typename T>concept Bar = Foo<T>; // reference `Foo` points to the underlying of ns::Foo, rather than the `using` decl.
This breaks some clang tools: include-cleaner will report the file of the underlying decl, rather than the one for using decl; clangd's go-to-def on Foo
jumps to the underlying decl.
Metadata
Metadata
Assignees
Labels
c++20clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"conceptsC++20 conceptsC++20 concepts
Type
Projects
Status
Done