[PATCH] D41733: [Driver] Suggest correctly spelled driver options

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 16:52:40 PST 2018


modocache updated this revision to Diff 128681.
modocache added a comment.

Add 'did you mean' suggestions for -cc1 invocations as well.


Repository:
  rC Clang

https://reviews.llvm.org/D41733

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  lib/Driver/Driver.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/unknown-arg.c
  test/Driver/unsupported-option.c
  test/Frontend/unknown-arg.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41733.128681.patch
Type: text/x-patch
Size: 8097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180105/feb6a06b/attachment.bin>


More information about the cfe-commits mailing list