Changes in src/GenPoly/GenPoly.h [08fc48f:6b0b624]
- File:
-
- 1 edited
-
src/GenPoly/GenPoly.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.h
r08fc48f r6b0b624 16 16 #pragma once 17 17 18 #include <iostream> // for ostream 19 #include <string> // for string, allocator, operator+, basic... 18 #include <string> 19 #include <iostream> 20 #include <utility> 20 21 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" 25 29 26 30 namespace GenPoly { … … 62 66 Type *hasPolyBase( Type *type, const TyVarMap &tyVars, int *levels = 0, const TypeSubstitution *env = 0 ); 63 67 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 65 69 /// polymorphic parameter; will look up substitution in env if provided. 66 70 bool includesPolyType( Type *type, const TypeSubstitution *env = 0 ); 67 71 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 69 73 /// at least one polymorphic parameter in tyVars; will look up substitution in env if provided. 70 74 bool includesPolyType( Type *type, const TyVarMap &tyVars, const TypeSubstitution *env = 0 );
Note:
See TracChangeset
for help on using the changeset viewer.