- File:
-
- 1 edited
-
src/ControlStruct/ExceptTranslate.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptTranslate.h
r5f3ba11 r539a8c8 16 16 #pragma once 17 17 18 #include <list> // for list19 20 class Declaration;21 18 namespace ast { 22 19 class TranslationUnit; … … 24 21 25 22 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 */31 23 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 */ 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 38 35 } 39 36
Note:
See TracChangeset
for help on using the changeset viewer.