Changeset 1f7dc61


Ignore:
Timestamp:
Feb 11, 2022, 12:16:52 PM (6 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
enum, master
Children:
6668a3e
Parents:
5910fc0
Message:

Consistently changed TranslationUnit? from struct to class.

Location:
src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.hpp

    r5910fc0 r1f7dc61  
    2020class Declaration;
    2121namespace ast {
    22         struct TranslationUnit;
     22        class TranslationUnit;
    2323};
    2424
  • src/AST/Fwd.hpp

    r5910fc0 r1f7dc61  
    140140typedef unsigned int UniqueId;
    141141
    142 struct TranslationUnit;
     142class TranslationUnit;
    143143// TODO: Get from the TranslationUnit:
    144144extern ptr<Type> sizeType;
  • src/AST/Pass.proto.hpp

    r5910fc0 r1f7dc61  
    2323class Pass;
    2424
    25 struct TranslationUnit;
     25class TranslationUnit;
    2626
    2727struct PureVisitor;
  • src/AST/TranslationUnit.hpp

    r5910fc0 r1f7dc61  
    2323namespace ast {
    2424
    25 struct TranslationUnit {
     25class TranslationUnit {
     26public:
    2627        std::list< ptr< Decl > > decls;
    2728
  • src/CodeGen/FixNames.h

    r5910fc0 r1f7dc61  
    2020class Declaration;
    2121namespace ast {
    22         struct TranslationUnit;
     22        class TranslationUnit;
    2323}
    2424
  • src/Common/CodeLocationTools.hpp

    r5910fc0 r1f7dc61  
    1717
    1818namespace ast {
    19         struct TranslationUnit;
     19        class TranslationUnit;
    2020}
    2121
  • src/Common/ResolvProtoDump.hpp

    r5910fc0 r1f7dc61  
    1717
    1818namespace ast {
    19         struct TranslationUnit;
     19        class TranslationUnit;
    2020}
    2121
  • src/InitTweak/FixInit.h

    r5910fc0 r1f7dc61  
    2121class Declaration;
    2222namespace ast {
    23         struct TranslationUnit;
     23        class TranslationUnit;
    2424}
    2525
  • src/MakeLibCfa.h

    r5910fc0 r1f7dc61  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // MakeLibCfa.h -- 
     7// MakeLibCfa.h --
    88//
    99// Author           : Richard C. Bilson
     
    2020class Declaration;
    2121namespace ast {
    22         struct TranslationUnit;
     22        class TranslationUnit;
    2323}
    2424
  • src/ResolvExpr/Resolver.h

    r5910fc0 r1f7dc61  
    3535        class StmtExpr;
    3636        class SymbolTable;
    37         struct TranslationUnit;
     37        class TranslationUnit;
    3838        class Type;
    3939        class TypeEnvironment;
     
    7272        ast::ptr< ast::Init > resolveCtorInit(
    7373                const ast::ConstructorInit * ctorInit, const ast::SymbolTable & symtab );
    74         /// Resolves a statement expression 
     74        /// Resolves a statement expression
    7575        const ast::Expr * resolveStmtExpr(
    7676                const ast::StmtExpr * stmtExpr, const ast::SymbolTable & symtab );
Note: See TracChangeset for help on using the changeset viewer.