Changeset fb24492 for src/SymTab
- Timestamp:
- May 12, 2016, 1:19:59 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 03286aa, 7b3f66b
- Parents:
- ec79847 (diff), 228851d (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/SymTab
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.cc
rec79847 rfb24492 10 10 // Created On : Thu Mar 03 15:45:56 2016 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue May 03 16:56:21201612 // Last Modified On : Wed May 11 13:22:03 2016 13 13 // Update Count : 1 14 14 // … … 217 217 if ( type->get_qualifiers().isConst ) { 218 218 // don't assign const members 219 continue; 220 } 221 222 if ( field->get_name() == "" ) { 223 // don't assign to anonymous members 224 // xxx - this is a temporary fix. Anonymous members tie into 225 // our inheritance model. I think the correct way to handle this is to 226 // cast the structure to the type of the member and let the resolver 227 // figure out whether it's valid and have a pass afterwards that fixes 228 // the assignment to use pointer arithmetic with the offset of the 229 // member, much like how generic type members are handled. 219 230 continue; 220 231 } … … 317 328 if ( isUnnamedBitfield( dynamic_cast< ObjectDecl * > ( member ) ) ) { 318 329 // don't make a function whose parameter is an unnamed bitfield 330 continue; 331 } else if ( member->get_name() == "" ) { 332 // don't assign to anonymous members 333 // xxx - this is a temporary fix. Anonymous members tie into 334 // our inheritance model. I think the correct way to handle this is to 335 // cast the structure to the type of the member and let the resolver 336 // figure out whether it's valid and have a pass afterwards that fixes 337 // the assignment to use pointer arithmetic with the offset of the 338 // member, much like how generic type members are handled. 319 339 continue; 320 340 } -
src/SymTab/Validate.cc
rec79847 rfb24492 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Thu Apr 14 15:37:23201612 // Last Modified On : Wed May 11 13:17:52 2016 13 13 // Update Count : 297 14 14 //
Note: See TracChangeset
for help on using the changeset viewer.