Changeset 36354b1 for src/AST/porting.md


Ignore:
Timestamp:
May 10, 2019, 12:09:05 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9131e54, cdcd53dc
Parents:
292d599 (diff), 14cebb7a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/porting.md

    r292d599 r36354b1  
    5555* Preserve names from previous AST whenever reasonable, and get team consensus on any changes.
    5656* Strong justification required for private fields
    57   * No `get_` prefix on getters
     57  * No `get_` prefix on getters (including for generated fields)
    5858* Notable changes:
    5959  * for concision and consistency with subclasses:
    6060    * `Declaration` => `ast::Decl`
    61         * `DeclarationWithType` => `ast::DeclWithType` 
     61        * `DeclarationWithType` => `ast::DeclWithType`
    6262        * `Expression` => `ast::Expr`
    6363        * `Initializer` => `ast::Init`
     
    8181`DeclWithType`
    8282* When `SymTab::Validate::Pass2` is rewritten, update comment on `mangleName` with new name of pass
     83* `get_scopedMangleName()` => `scopedMangleName()`
     84* `get_type()` now returns `const Type*` so can't be inadvertently mutated
     85  * still with `get_` name so it doesn't conflict with subclass field names
     86
     87`ObjectDecl`
     88* changed constructor parameter order for better defaults
     89  * allows `newObject` as just default settings
     90
     91`EnumDecl`
     92* **TODO** rebuild `eval` for new AST (re: `valueOf` implementation)
    8393
    8494`Expr`
Note: See TracChangeset for help on using the changeset viewer.