Changes in src/InitTweak/GenInit.cc [1ba88a0:dcd73d1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/GenInit.cc
r1ba88a0 rdcd73d1 245 245 // constructed objects cannot be designated 246 246 if ( isDesignated( objDecl->get_init() ) ) throw SemanticError( "Cannot include designations in the initializer for a managed Object. If this is really what you want, then initialize with @=.", objDecl ); 247 // xxx - constructed objects should not have initializers nested too deeply 247 // constructed objects should not have initializers nested too deeply 248 if ( ! checkInitDepth( objDecl ) ) throw SemanticError( "Managed object's initializer is too deep ", objDecl ); 248 249 249 250 // call into genImplicitCall from Autogen.h to generate calls to ctor/dtor
Note:
See TracChangeset
for help on using the changeset viewer.