Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/GenPoly.h

    r6b0b624 r08fc48f  
    1616#pragma once
    1717
    18 #include <string>
    19 #include <iostream>
    20 #include <utility>
     18#include <iostream>               // for ostream
     19#include <string>                 // for string, allocator, operator+, basic...
    2120
    22 #include "ErasableScopedMap.h"
    23 
    24 #include "SymTab/Mangler.h"
    25 
    26 #include "SynTree/Declaration.h"
    27 #include "SynTree/Type.h"
    28 #include "SynTree/TypeSubstitution.h"
     21#include "ErasableScopedMap.h"    // for ErasableScopedMap
     22#include "SymTab/Mangler.h"       // for Mangler
     23#include "SynTree/Declaration.h"  // for TypeDecl::Data, AggregateDecl, Type...
     24#include "SynTree/SynTree.h"      // for Visitor Nodes
    2925
    3026namespace GenPoly {
     
    6662        Type *hasPolyBase( Type *type, const TyVarMap &tyVars, int *levels = 0, const TypeSubstitution *env = 0 );
    6763
    68         /// true iff this type or some base of this type after dereferencing pointers is either polymorphic or a generic type with at least one 
     64        /// true iff this type or some base of this type after dereferencing pointers is either polymorphic or a generic type with at least one
    6965        /// polymorphic parameter; will look up substitution in env if provided.
    7066        bool includesPolyType( Type *type, const TypeSubstitution *env = 0 );
    7167
    72         /// true iff this type or some base of this type after dereferencing pointers is either polymorphic in tyVars, or a generic type with 
     68        /// true iff this type or some base of this type after dereferencing pointers is either polymorphic in tyVars, or a generic type with
    7369        /// at least one polymorphic parameter in tyVars; will look up substitution in env if provided.
    7470        bool includesPolyType( Type *type, const TyVarMap &tyVars, const TypeSubstitution *env = 0 );
Note: See TracChangeset for help on using the changeset viewer.