Add a static_assert checking that no type class is polymorphic.
People should use LLVM style RTTI instead.
Details
Diff Detail
- Repository
- rC Clang
Event Timeline
| lib/AST/Type.cpp | ||
|---|---|---|
| 299 | This is on purpose, since what is substituted into | |
| 301 | I can certainly add one but it is already done in TypeNodes.def. | |
This will squish your class name and error text together. I think you need a whitespace before "Type" and make that lowercase.