Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/GenPoly.h

    r08fc48f r6b0b624  
    1616#pragma once
    1717
    18 #include <iostream>               // for ostream
    19 #include <string>                 // for string, allocator, operator+, basic...
     18#include <string>
     19#include <iostream>
     20#include <utility>
    2021
    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
     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"
    2529
    2630namespace GenPoly {
     
    6266        Type *hasPolyBase( Type *type, const TyVarMap &tyVars, int *levels = 0, const TypeSubstitution *env = 0 );
    6367
    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
     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 
    6569        /// polymorphic parameter; will look up substitution in env if provided.
    6670        bool includesPolyType( Type *type, const TypeSubstitution *env = 0 );
    6771
    68         /// true iff this type or some base of this type after dereferencing pointers is either polymorphic in tyVars, or a generic type with
     72        /// true iff this type or some base of this type after dereferencing pointers is either polymorphic in tyVars, or a generic type with 
    6973        /// at least one polymorphic parameter in tyVars; will look up substitution in env if provided.
    7074        bool includesPolyType( Type *type, const TyVarMap &tyVars, const TypeSubstitution *env = 0 );
Note: See TracChangeset for help on using the changeset viewer.