[PATCH] D158137: Change -ffp-model= related warn_drv_overriding_flag_option to warn_drv_overriding_option
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 16 19:18:09 PDT 2023
MaskRay created this revision.
MaskRay added reviewers: clang, aaron.ballman, andrew.w.kaylor, hans, skan, zahiraam.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
warn_drv_overriding_flag_option was intended for clang-cl `/T*` options (D1290 <https://reviews.llvm.org/D1290>).
The name -Woverriding-t-option does not make sense for other uses.
Add -Woverriding-option for -ffp-model= diagnostics.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158137
Files:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/fp-model.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158137.550959.patch
Type: text/x-patch
Size: 10853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230817/7f3419ba/attachment.bin>
More information about the cfe-commits
mailing list