- File:
-
- 1 edited
-
src/ControlStruct/ExceptTranslate.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptTranslate.h
r539a8c8 r5f3ba11 16 16 #pragma once 17 17 18 #include <list> // for list 19 20 class Declaration; 18 21 namespace ast { 19 22 class TranslationUnit; … … 21 24 22 25 namespace ControlStruct { 26 void translateThrows( std::list< Declaration *> & translationUnit ); 27 void translateThrows( ast::TranslationUnit & transUnit ); 28 /* Replaces all throw & throwResume statements with function calls. 29 * These still need to be resolved, so call this before the reslover. 30 */ 23 31 24 void translateThrows( ast::TranslationUnit & transUnit ); 25 /* Replaces all throw & throwResume statements with function calls. 26 * These still need to be resolved, so call this before the reslover. 27 */ 28 29 void translateTries( ast::TranslationUnit & transUnit ); 30 /* Replaces all try blocks (and their many clauses) with function definitions and calls. 31 * This uses the exception built-ins to produce typed output and should take place after 32 * the resolver. It also produces virtual casts and should happen before they are expanded. 33 */ 34 32 void translateTries( std::list< Declaration *> & translationUnit ); 33 void translateTries( ast::TranslationUnit & transUnit ); 34 /* Replaces all try blocks (and their many clauses) with function definitions and calls. 35 * This uses the exception built-ins to produce typed output and should take place after 36 * the resolver. It also produces virtual casts and should happen before they are expanded. 37 */ 35 38 } 36 39
Note:
See TracChangeset
for help on using the changeset viewer.