Skip to content

[clang] 'VarTemplateSpecializationDecl::getSourceRange; changes after serialization of the AST #61680

Open
@tomasz-kaminski-sonarsource

Description

For the following code snippet, the end token of the source range produced from VarTemplateSpecializationDecl::getSourceRange::getSourceRange changes from the right angle bracket of the template argument list (which is expected per D139705) to name of variable:

template<class U>
//                 v - before serialization, expected
int binTempl<int, U>;
//  ^ - after serialization

See D146784.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions