Changeset f8b6d921


Ignore:
Timestamp:
Jan 18, 2017, 4:59:38 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
1ab7d3f
Parents:
5ded739
Message:

handle cpp -U command-line option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/driver/cc1.cc

    r5ded739 rf8b6d921  
    1010// Created On       : Fri Aug 26 14:23:51 2005
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jun 10 09:27:37 2016
    13 // Update Count     : 80
     12// Last Modified On : Wed Jan 18 08:14:21 2017
     13// Update Count     : 81
    1414//
    1515
     
    169169                                i += 1;                                                                 // and the argument
    170170
    171                                 // all other flags
     171                        // all other flags
    172172
    173173                        } else if ( arg == "-o" ) {
     
    178178                                nargs += 1;
    179179                                // CPP flags with an argument
    180                                 if ( arg == "-D" || arg == "-I" || arg == "-MF" || arg == "-MT" || arg == "-MQ" ||
     180                                if ( arg == "-D" || arg == "-U" || arg == "-I" || arg == "-MF" || arg == "-MT" || arg == "-MQ" ||
    181181                                         arg == "-include" || arg == "-imacros" || arg == "-idirafter" || arg == "-iprefix" ||
    182182                                         arg == "-iwithprefix" || arg == "-iwithprefixbefore" || arg == "-isystem" || arg == "-isysroot" ) {
Note: See TracChangeset for help on using the changeset viewer.