Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptTranslate.h

    r539a8c8 r5f3ba11  
    1616#pragma once
    1717
     18#include <list>  // for list
     19
     20class Declaration;
    1821namespace ast {
    1922        class TranslationUnit;
     
    2124
    2225namespace 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         */
    2331
    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         */
    3538}
    3639
Note: See TracChangeset for help on using the changeset viewer.