[PATCH] D84676: Add new diagnostic for invalid value provided for enum-based option
Daniel Grumberg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 27 10:03:30 PDT 2020
dang created this revision.
dang added a reviewer: Bigcheese.
Herald added subscribers: llvm-commits, cfe-commits, dexonsmith.
Herald added projects: clang, LLVM.
This adds a more precise diagnostics for options that have a well defined set of
acceptable values.
Depends on D84675 <https://reviews.llvm.org/D84675>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84676
Files:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/debug-options.c
clang/test/Driver/eabi.c
clang/test/Driver/fveclib.c
clang/test/Driver/reloc-model.c
clang/test/Profile/c-generate.c
llvm/utils/TableGen/OptParserEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84676.280960.patch
Type: text/x-patch
Size: 5666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/9baae6cc/attachment.bin>
More information about the llvm-commits
mailing list