Skip to content

Assertion `getCanonicalType(T) != T && "Cannot request the size of a dependent type" #11791

@llvmbot

Description

@llvmbot
Bugzilla Link 11419
Resolution INVALID
Resolved on Apr 23, 2019 15:02
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

Compiled with clang++ -c a.ii, I get an assertion failure:

template class CMap_one_dart_per_cell_iterator {
};
template < unsigned int > struct Combinatorial_map_base {
static const unsigned int dimension = 42;
template struct One_dart_per_cell_range {
typedef CMap_one_dart_per_cell_iterator iterator;
};
};
typedef Combinatorial_map_base<3> CMap_3;
int main() {
CMap_3::One_dart_per_cell_range<>::iterator a;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions