- Timestamp:
- Dec 16, 2014, 9:41:50 PM (10 years ago)
- 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:
- 17cd4eb
- Parents:
- 3848e0e
- Location:
- driver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
r3848e0e rd9a0e76 8 8 // Created On : Fri Aug 26 14:23:51 2005 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Wed Nov 12 22:58:59201411 // Update Count : 510 // Last Modified On : Sun Dec 7 22:21:33 2014 11 // Update Count : 14 12 12 // 13 13 // This library is free software; you can redistribute it and/or modify it … … 45 45 46 46 string D__GCC_BPREFIX__( "-D__GCC_BPREFIX__=" ); 47 string D__CFA_FLAGPREFIX__( "-D__CFA_FLAG__=" ); 47 48 48 49 … … 140 141 i += 1; // and the argument 141 142 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 142 150 } else if ( prefix( arg, D__GCC_BPREFIX__ ) ) { 143 151 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) ) ) { 145 153 bprefix = string( argv[i + 1] ).substr( D__GCC_BPREFIX__.size() - 2 ); 146 154 i += 1; // and the argument -
driver/cpp.cc
r3848e0e rd9a0e76 8 8 // Created On : Thu Aug 29 12:24:06 2002 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Fri Sep 20 07:33:49 200211 // Update Count : 5 010 // Last Modified On : Sat Dec 6 08:31:49 2014 11 // Update Count : 51 12 12 // 13 13
Note: See TracChangeset
for help on using the changeset viewer.