Changeset 1db21619 for src/driver


Ignore:
Timestamp:
Jul 16, 2015, 5:28:24 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, string, with_gc
Children:
994ec2c
Parents:
724c2b6
Message:

add CFA flag, remove -p from cc1, typedef on functions become function declarations, move isInline/isNoreturn to Declaration, cleaned up label code

Location:
src/driver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/driver/cc1.cc

    r724c2b6 r1db21619  
    1010// Created On       : Fri Aug 26 14:23:51 2005
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat May 30 08:58:29 2015
    13 // Update Count     : 51
     12// Last Modified On : Thu Jul 16 17:09:14 2015
     13// Update Count     : 54
    1414//
    1515
     
    319319                uargs[0] = ( *new string( bprefix + "/cfa-cpp" ) ).c_str();
    320320
    321                 uargs[nuargs] = "-p";
    322                 nuargs += 1;
    323 
    324321                uargs[nuargs] = tmpname;
    325322                nuargs += 1;
  • src/driver/cfa.cc

    r724c2b6 r1db21619  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jun 23 17:47:03 2015
    13 // Update Count     : 119
     12// Last Modified On : Thu Jul 16 17:09:23 2015
     13// Update Count     : 124
    1414//
    1515
     
    5252        string Version( VERSION );                                                      // current version number from CONFIG
    5353        string Major( "0" ), Minor( "0" ), Patch( "0" );        // default version numbers
     54
    5455        int posn1 = Version.find( "." );                                        // find the divider between major and minor version numbers
    5556        if ( posn1 == -1 ) {                                                            // not there ?
     
    256257        // add the correct set of flags based on the type of compile this is
    257258
    258         args[nargs] = ( *new string( string("-D__CFA_MAJOR__=") + Major ) ).c_str();
     259        args[nargs] = ( *new string( string("-D__CFA__=") + Major ) ).c_str();
    259260        nargs += 1;
    260261        args[nargs] = ( *new string( string("-D__CFA_MINOR__=") + Minor ) ).c_str();
     262        nargs += 1;
     263        args[nargs] = ( *new string( string("-D__CFA_PATCHLEVEL__=") + Patch ) ).c_str();
    261264        nargs += 1;
    262265
Note: See TracChangeset for help on using the changeset viewer.