diff options
| author | Hans Wennborg <hans@hanshq.net> | 2013-07-18 20:29:38 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2013-07-18 20:29:38 +0000 |
| commit | 76b86c2e79a58910a641d449f229889d671d8a38 (patch) | |
| tree | 99ba12e631e2994533659c466af0418021bdcdf4 /lib/CodeGen/CGExprAgg.cpp | |
| parent | bbbb0fe4f466d3163fcbf0a64ebf0f5868833efb (diff) | |
| download | clang-76b86c2e79a58910a641d449f229889d671d8a38.tar.gz clang-76b86c2e79a58910a641d449f229889d671d8a38.tar.bz2 clang-76b86c2e79a58910a641d449f229889d671d8a38.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
