Ignore:
Timestamp:
May 23, 2019, 10:39:17 AM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
a2e758e
Parents:
f23de79d
Message:

Fixed pass visitor so previsit can return void to signify it will never mutate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/GenericSubstitution.cpp

    rf23de79d r0b8bf27  
    2323#include "Pass.hpp"
    2424#include "Type.hpp"
    25 #include "TypeSubstitution.cpp"
     25#include "TypeSubstitution.hpp"
    2626
    2727namespace ast {
     
    3232
    3333                void previsit( const Type * ty ) {
    34                         assertf( false, "Attempted generic substitution for non-aggregate type: %s", 
     34                        assertf( false, "Attempted generic substitution for non-aggregate type: %s",
    3535                                toString( ty ).c_str() );
    3636                }
Note: See TracChangeset for help on using the changeset viewer.