[clang] Qualify non-dependent types of a class template with its declaration (PR #67566)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 2 13:43:17 PDT 2023


vgvassilev wrote:

> @vgvassilev If that is an acceptable interface for the LLVM interface then, yes, it would be perfect from our side, and I'm more than happy to update the PR in the next few days.
> 
> Just to be sure that I understood your proposal.
> 
> `getFullyQualified*` calls will accept a new parameter, a callable, that will be passed down the call chain up to `createNestedNameSpecifierForScopeOf(const ASTContext &, const Decl *, ...)` and will be called when the teplate case is encountered? Or are you thinking more of a callable that replaces the call to `createNestedNameSpecifierForScopeOf(const ASTContext &, const Decl *, ...)`?

I hesitate. Maybe we can pass a custom "policy" option and incorporate your code in there... We reiterate if the solution does not look good?

https://github.com/llvm/llvm-project/pull/67566


More information about the cfe-commits mailing list