Skip to content
Commit 70850d83 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

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
parent 92463274
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment