Changeset d9a0e76 for driver


Ignore:
Timestamp:
Dec 16, 2014, 9:41:50 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, 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:
17cd4eb
Parents:
3848e0e
Message:

remove Parser.old, add -XCFA to driver, copy ptrdiff_t from stddef.h in preclude, remove casts from initialization constants, adjust formatting

Location:
driver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • driver/cc1.cc

    r3848e0e rd9a0e76  
    88// Created On       : Fri Aug 26 14:23:51 2005
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Wed Nov 12 22:58:59 2014
    11 // Update Count     : 5
     10// Last Modified On : Sun Dec  7 22:21:33 2014
     11// Update Count     : 14
    1212//
    1313// This  library is free  software; you  can redistribute  it and/or  modify it
     
    4545
    4646string D__GCC_BPREFIX__( "-D__GCC_BPREFIX__=" );
     47string D__CFA_FLAGPREFIX__( "-D__CFA_FLAG__=" );
    4748
    4849
     
    140141                i += 1;                                 // and the argument
    141142                cpp_flag = true;
     143            } else if ( prefix( arg, D__CFA_FLAGPREFIX__ ) ) {
     144                uargs[nuargs] = ( *new string( arg.substr( D__CFA_FLAGPREFIX__.size() ) ) ).c_str();
     145                nuargs += 1;
     146            } else if ( arg == "-D" && prefix( argv[i + 1], D__CFA_FLAGPREFIX__.substr(2) ) ) {
     147                uargs[nuargs] = ( *new string( string( argv[i + 1] ).substr( D__CFA_FLAGPREFIX__.size() - 2 ) ) ).c_str();
     148                nuargs += 1;
     149                i += 1;                                 // and the argument
    142150            } else if ( prefix( arg, D__GCC_BPREFIX__ ) ) {
    143151                bprefix = arg.substr( D__GCC_BPREFIX__.size() );
    144             } else if ( arg == "-D" && prefix( argv[i + 1], "__GCC_BPREFIX__=" ) ) {
     152            } else if ( arg == "-D" && prefix( argv[i + 1], D__GCC_BPREFIX__.substr(2) ) ) {
    145153                bprefix = string( argv[i + 1] ).substr( D__GCC_BPREFIX__.size() - 2 );
    146154                i += 1;                                 // and the argument
  • driver/cpp.cc

    r3848e0e rd9a0e76  
    88// Created On       : Thu Aug 29 12:24:06 2002
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Fri Sep 20 07:33:49 2002
    11 // Update Count     : 50
     10// Last Modified On : Sat Dec  6 08:31:49 2014
     11// Update Count     : 51
    1212//
    1313
Note: See TracChangeset for help on using the changeset viewer.