Changeset bc3127d for src/GenPoly/Box.cc


Ignore:
Timestamp:
Sep 1, 2017, 4:26:14 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
5809461, ba2a68b
Parents:
78a0b88
Message:

Handle user-defined literals in OperatorTable?, 0/1 from operator table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    r78a0b88 rbc3127d  
    12981298                }
    12991299
    1300                 /// determines if `pref` is a prefix of `str`
    1301                 bool isPrefix( const std::string & str, const std::string & pref ) {
    1302                         if ( pref.size() > str.size() ) return false;
    1303                         auto its = std::mismatch( pref.begin(), pref.end(), str.begin() );
    1304                         return its.first == pref.end();
    1305                 }
    1306 
    13071300                DeclarationWithType * Pass2::mutate( FunctionDecl *functionDecl ) {
    13081301                        functionDecl = safe_dynamic_cast< FunctionDecl * > ( handleDecl( functionDecl ) );
Note: See TracChangeset for help on using the changeset viewer.