Changeset d76c588 for src/AST/porting.md
- Timestamp:
- May 30, 2019, 4:10:24 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8d70648
- Parents:
- eba615c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/porting.md
reba615c rd76c588 104 104 * `LinkageSpec::isMangled(Spec)` etc. => `Spec.is_mangled` etc. 105 105 * `LinkageSpec::Intrinsic` etc. => `ast::Linkage::Intrinsic` etc. 106 * Boolean flags to `SymTab::Mangler::mangle` are now a `SymTab::Mangle::Mode` struct 107 * uses `bitfield` 108 * Because `Indexer` isn't a terribly evocative name: 109 * `SymTab::Indexer` => `ast::SymbolTable` 110 * `SymTab/Indexer.{h,cc}` => `AST/SymbolTable.{hpp,cpp}` 111 * **TODO** `WithIndexer` => `WithSymbolTable` 112 * `indexer` => `symTab` 113 * `IdData::deleteStmt` => `IdData::deleter` 114 * `lookupId()` now returns a vector rather than an out-param list 115 * To avoid name collisions: 116 * `SymTab::Mangler` => `Mangle` 117 * `ResolvExpr::TypeEnvironment` => `ast::TypeEnvironment` 118 * in `AST/TypeEnvironment.hpp` 106 119 * Boolean constructor parameters get replaced with a dedicated flag enum: 107 120 * e.g. `bool isVarLen;` => `enum LengthFlag { FixedLen, VariableLen };` `LengthFlag isVarLen;` … … 261 274 * feature is `type@thing` e.g. `int@MAX` 262 275 276 `referenceToRvalueConversion` 277 * now returns `const Expr *` rather than mutating argument 278 279 `printAssertionSet`, `printOpenVarSet` 280 * `ostream &` now first argument, for consistency 281 282 `EqvClass` 283 * `type` => `bound` 284 285 `TypeEnvironment` 286 * `makeSubstitution()` => `writeToSubstitution()` 287 * `isEmpty()` => `empty()` 288 * removed `clone()` in favour of explicit copies 289 290 `occurs` 291 * moved to be helper function in `TypeEnvironment.cpp` (its only use) 292 263 293 [1] https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Type-Attributes.html#Type-Attributes 264 294
Note: See TracChangeset
for help on using the changeset viewer.