Changeset 11df881 for src/ControlStruct


Ignore:
Timestamp:
Jul 20, 2022, 11:42:29 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
b585593
Parents:
0577df2
Message:

Updated documentation on pre-resolver passes, moving code to headers instead of uses. Note that some comments were just copied over, I don't know if they are accurate.

Location:
src/ControlStruct
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/ControlStruct/ExceptDecl.cc

    r0577df2 r11df881  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ExceptDecl.cc --
     7// ExceptDecl.cc -- Handles declarations of exception types.
    88//
    99// Author           : Henry Xue
  • TabularUnified src/ControlStruct/ExceptDecl.h

    r0577df2 r11df881  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ExceptDecl.h --
     7// ExceptDecl.h -- Handles declarations of exception types.
    88//
    99// Author           : Henry Xue
     
    2525
    2626namespace ControlStruct {
    27         void translateExcept( std::list< Declaration *> & translationUnit );
    28         void translateExcept( ast::TranslationUnit & translationUnit );
     27/// Unfold exception declarations into raw structure declarations.
     28/// Also builds vtable declarations and converts vtable types.
     29void translateExcept( std::list< Declaration *> & translationUnit );
     30void translateExcept( ast::TranslationUnit & translationUnit );
    2931}
  • TabularUnified src/ControlStruct/HoistControlDecls.hpp

    r0577df2 r11df881  
    2121
    2222namespace ControlStruct {
    23 // Hoist declarations out of control flow statements into compound statement.
     23/// Hoist declarations out of control flow statements into compound statement.
     24/// Must happen before auto-gen routines are added.
    2425void hoistControlDecls( ast::TranslationUnit & translationUnit );
    2526} // namespace ControlStruct
Note: See TracChangeset for help on using the changeset viewer.