Ignore:
Timestamp:
May 9, 2016, 12:41:50 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
fb24492
Parents:
9e2c1f0
Message:

don't include global init/destroy functions if they're empty, remove all implicit single parameter intrinsic ctor/dtor calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.h

    r9e2c1f0 rec79847  
    1010// Created On       : Wed Jan 13 16:29:30 2016
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Jan 13 16:31:13 2016
     12// Last Modified On : Mon May 09 12:08:11 2016
    1313// Update Count     : 5
    1414//
     
    2828  /// and unwrap basic C-style initializers
    2929        void fix( std::list< Declaration * > & translationUnit );
     30
     31  /// True if stmt is a call statement where the function called is intrinsic and takes one parameter.
     32  /// Intended to be used for default ctor/dtor calls, but might have use elsewhere.
     33  /// Currently has assertions that make it less than fully general.
     34  bool isInstrinsicSingleArgCallStmt( Statement * expr );
    3035} // namespace
    3136
Note: See TracChangeset for help on using the changeset viewer.