Changes in src/CodeGen/CodeGenerator.h [e04ef3a:7baed7d]
- File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.h
re04ef3a r7baed7d 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // CodeGenerator.h -- 7 // CodeGenerator.h -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 9 13:15:58201613 // Update Count : 2 912 // Last Modified On : Wed Mar 2 17:32:24 2016 13 // Update Count : 28 14 14 // 15 15 … … 60 60 virtual void visit( MemberExpr *memberExpr ); 61 61 virtual void visit( VariableExpr *variableExpr ); 62 virtual void visit( ConstantExpr *constantExpr ); 62 virtual void visit( ConstantExpr *constantExpr ); 63 63 virtual void visit( SizeofExpr *sizeofExpr ); 64 64 virtual void visit( AlignofExpr *alignofExpr ); … … 85 85 virtual void visit( ForStmt * ); 86 86 virtual void visit( NullStmt * ); 87 virtual void visit( DeclStmt * ); 87 virtual void visit( DeclStmt * ); 88 89 void genAttributes( std::list< Attribute * > & attributes ); 88 90 89 91 template< class Iterator > void genCommaList( Iterator begin, Iterator end ); … … 94 96 std::ostream& operator()(std::ostream & os); 95 97 }; 96 97 void extension( Expression *expr ) {98 if ( expr->get_extension() ) {99 output << "__extension__ ";100 } // if101 } // extension102 98 private: 103 99 … … 114 110 115 111 }; 116 112 117 113 template< class Iterator > 118 114 void CodeGenerator::genCommaList( Iterator begin, Iterator end ) { … … 125 121 } // for 126 122 } 127 123 128 124 inline bool doSemicolon( Declaration* decl ) { 129 125 if ( FunctionDecl* func = dynamic_cast< FunctionDecl* >( decl ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.