Changeset 9feb34b for src/SynTree/Type.h


Ignore:
Timestamp:
Mar 29, 2023, 11:07:03 AM (15 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
afdb74b
Parents:
60380a1
Message:

Moved toString and toCString to a new header. Updated includes. cassert was somehow getting instances of toString before but that stopped working so I embedded the new smaller include.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    r60380a1 r9feb34b  
    2424#include "BaseSyntaxNode.h"  // for BaseSyntaxNode
    2525#include "Common/Iterate.hpp"// for operator+
    26 #include "Common/utility.h"  // for toCString
    2726#include "Mutator.h"         // for Mutator
    2827#include "SynTree.h"         // for AST nodes
     
    186185        virtual bool isComplete() const { return true; }
    187186
    188         virtual AggregateDecl * getAggr() const { assertf( false, "Non-aggregate type: %s", toCString( this ) ); }
     187        virtual AggregateDecl * getAggr() const;
    189188
    190189        virtual TypeSubstitution genericSubstitution() const;
Note: See TracChangeset for help on using the changeset viewer.