| commit | 70850d83dce7a0c249f2548f060893314576786f | [log] [tgz] |
|---|---|---|
| author | Hans Wennborg <hans@hanshq.net> | Thu Jul 18 20:29:38 2013 +0000 |
| committer | Hans Wennborg <hans@hanshq.net> | Thu Jul 18 20:29:38 2013 +0000 |
| tree | 65ee1f1f1d7e894272039ce33071d829ff3071a2 | |
| parent | 92463274e647e007aa70efb4872b02057b63d8cc [diff] |
Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum, and add a new option --driver-mode= to control it explicitly. The CCCIsCXX and CCCIsCPP flags were non-overlapping, i.e. there are currently really three modes that Clang can run in: gcc, g++ or cpp, so it makes sense to represent them as an enum. Having a command line flag to control it helps testing. llvm-svn: 186605