Add a static_assert checking that no type class is polymorphic.
People should use LLVM style RTTI instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/AST/Type.cpp | ||
---|---|---|
299 ↗ | (On Diff #176414) | This is on purpose, since what is substituted into |
301 ↗ | (On Diff #176414) | I can certainly add one but it is already done in TypeNodes.def. |