- Timestamp:
- Nov 12, 2020, 1:23:24 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8ca26d5
- Parents:
- 2c2b60f (diff), 0d4456b (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. - Location:
- src/AST
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r2c2b60f r0b996a1 9 9 // Author : Thierry Delisle 10 10 // Created On : Thu May 09 15::37::05 2019 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed Dec 11 21:39:32 201913 // Update Count : 3 311 // Last Modified By : Andrew Beach 12 // Last Modified On : Thr Nov 12 10:07:00 2020 13 // Update Count : 34 14 14 // 15 15 … … 187 187 auto init = get<Initializer>().accept1( node->init ); 188 188 decl->init = init; 189 189 190 190 this->node = decl; 191 191 return nullptr; … … 2812 2812 } 2813 2813 deleteAll(translationUnit); 2814 2815 // Load the local static varables into the global store. 2816 unit.global.sizeType = ast::sizeType; 2817 unit.global.dereference = ast::dereferenceOperator; 2818 unit.global.dtorStruct = ast::dtorStruct; 2819 unit.global.dtorDestroy = ast::dtorStructDestroy; 2820 2814 2821 return unit; 2815 2822 } -
src/AST/Pass.impl.hpp
r2c2b60f r0b996a1 423 423 } 424 424 catch( SemanticErrorException &e ) { 425 if (__pass::on Error (visitor.core, *i, 0))425 if (__pass::on_error (visitor.core, *i, 0)) 426 426 errors.append( e ); 427 427 } -
src/AST/Pass.proto.hpp
r2c2b60f r0b996a1 270 270 271 271 template< typename core_t > 272 static bool on Error (core_t &, ptr<Decl> &, long) { return true; }273 274 template< typename core_t > 275 static auto on Error (core_t & core, ptr<Decl> & decl, int) -> decltype(core.onError(decl)) {276 return core.on Error(decl);272 static bool on_error (core_t &, ptr<Decl> &, long) { return true; } 273 274 template< typename core_t > 275 static auto on_error (core_t & core, ptr<Decl> & decl, int) -> decltype(core.on_error(decl)) { 276 return core.on_error(decl); 277 277 } 278 278
Note:
See TracChangeset
for help on using the changeset viewer.