Changes in src/CodeGen/Generate.h [0bd3faf:8941b6b]
- File:
-
- 1 edited
-
src/CodeGen/Generate.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/Generate.h
r0bd3faf r8941b6b 17 17 18 18 #include <iostream> // for ostream 19 #include <list> // for list 20 21 class BaseSyntaxNode; 22 class Declaration; 19 23 20 24 namespace ast { … … 23 27 24 28 namespace CodeGen { 29 /// Generates code. doIntrinsics determines if intrinsic functions are printed, pretty formats output nicely (e.g., uses unmangled names, etc.), generateC is true when the output must consist only of C code (allows some assertions, etc.) 30 void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics, bool pretty, bool generateC = false , bool lineMarks = false, bool printTypeExpr = false ); 31 32 /// Generate code for a single node -- helpful for debugging in gdb 33 void generate( BaseSyntaxNode * node, std::ostream & os ); 25 34 26 35 /// Generates all code in transUnit and writing it to the os.
Note:
See TracChangeset
for help on using the changeset viewer.