[PATCH] D156925: [Driver] Don't try to spell check unsupported options
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 2 14:14:04 PDT 2023
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Looks great! We've had `def _ : Joined<"--">` since commit 46fffee081b583a617fa94397b0c758bdf3a4a80 (2009) when TableGen based options were introduced.
Due to it, the error messages are slightly different, but I agree that it is not a meaningful difference:
% fclang -qqq -c a.c
clang: error: unknown argument: '-qqq'
% fclang --qqq -c a.c
clang: error: unsupported option '--qqq'
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156925/new/
https://reviews.llvm.org/D156925
More information about the cfe-commits
mailing list