Changeset 1f7dc61 for src/AST


Ignore:
Timestamp:
Feb 11, 2022, 12:16:52 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
6668a3e
Parents:
5910fc0
Message:

Consistently changed TranslationUnit from struct to class.

Location:
src/AST
Files:
4 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
Note: See TracChangeset for help on using the changeset viewer.