llvm-project/clang/tools/driver
Brian Gesiak 28db314c82 [Driver] Suggest valid integrated tools
Summary:
There are only two valid integrated Clang driver tools: `-cc1` and
`-cc1as`. If a user asks for an unknown tool, such as `-cc1asphalt`,
an error message is displayed to indicate that there is no such tool,
but the message doesn't indicate what the valid options are.

Include the valid options in the error message.

Test Plan: `check-clang`

Reviewers: sepavloff, bkramer, phosek

Reviewed By: bkramer

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D42004

llvm-svn: 322517
2018-01-15 21:05:40 +00:00
..
CMakeLists.txt [clang] Use PRIVATE in target_link_libraries 2017-12-06 20:05:42 +00:00
Info.plist.in [CMake] Fixing typo in Info.plist generation 2016-08-16 20:49:49 +00:00
cc1_main.cpp Disable a silly GCC diagnostic for combining a scanf length specifier with the 2016-10-15 01:59:52 +00:00
cc1as_main.cpp [Driver] Add "did you mean?" suggestions to -cc1as 2018-01-13 17:09:11 +00:00
driver.cpp [Driver] Suggest valid integrated tools 2018-01-15 21:05:40 +00:00