- File:
-
- 1 edited
-
src/GenPoly/InstantiateGeneric.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGeneric.h
r04db9f6 r3606fe4 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // InstantiateGeneric.h -- Create concrete instances of generic types.7 // InstantiateGeneric.h -- 8 8 // 9 9 // Author : Aaron B. Moss … … 24 24 25 25 namespace GenPoly { 26 26 /// Replaces all generic types that have static layout with concrete 27 /// instantiations. Types with concrete values for otype parameters will be 28 /// template-expanded, while dtype and ftype parameters will be replaced by 29 /// the appropriate void type. 27 30 void instantiateGeneric( std::list< Declaration* > &translationUnit ); 28 31 void instantiateGeneric( ast::TranslationUnit & translationUnit ); 29 /// Replaces all generic types that have static layout with concrete30 /// instantiations. Sized types are replaced with the concrete argument types31 /// while unsized types are erased to a void type.32 /// This pass can cause designators to ignore the pretty print option.33 34 32 } // namespace GenPoly 35 33
Note:
See TracChangeset
for help on using the changeset viewer.