Changeset d83b266 for driver/cc1.cc
- Timestamp:
- Jul 26, 2021, 2:42:34 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0a061c0
- Parents:
- c86ee4c (diff), 98233b3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
driver/cc1.cc
rc86ee4c rd83b266 10 10 // Created On : Fri Aug 26 14:23:51 2005 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jun 1 23:07:21202113 // Update Count : 41 512 // Last Modified On : Wed Jul 21 09:46:24 2021 13 // Update Count : 419 14 14 // 15 15 … … 372 372 if ( prefix( arg, "-fdiagnostics-color=" ) ) { 373 373 string choice = arg.substr(20); 374 if(choice == "always") color_arg = Color_Always;375 else if (choice == "never" ) color_arg = Color_Never;376 else if (choice == "auto") color_arg = Color_Auto;374 if ( choice == "always" ) color_arg = Color_Always; 375 else if ( choice == "never" ) color_arg = Color_Never; 376 else if ( choice == "auto" ) color_arg = Color_Auto; 377 377 } else if ( arg == "-fno-diagnostics-color" ) { 378 378 color_arg = Color_Auto; … … 587 587 Stage2( argc, argv ); 588 588 } else { 589 cerr << "Usage: " << argv[0] << " input-file [output-file] [options]" << endl;589 cerr << "Usage: " << argv[0] << " [-E input-file [output-file] ] | [-fpreprocessed input-file output-file] [options]" << endl; 590 590 exit( EXIT_FAILURE ); 591 591 } // if
Note:
See TracChangeset
for help on using the changeset viewer.