| 487 | lintType(td); |
| 488 | } |
| 489 | virtual void preVisitAlias ( TypeDecl * td, const string & name ) override { |
| 490 | Visitor::preVisitAlias(td,name); |
| 491 | if ( !td->isAuto() ) { |
| 492 | if ( td->getSizeOf64()>0x7fffffff ) { |
| 493 | program->error("alias '" + name + "' is too big", "", "", |
| 494 | td->at, CompilationError::exceeds_type_alias ); |
| 495 | } |
| 496 | } |
| 497 | } |
| 498 | virtual bool canVisitStructure ( Structure * st ) override { |
| 499 | return !st->isTemplate; // not a thing with templates |
| 500 | } |
nothing calls this directly
no test coverage detected