Add toggling for -fnew-infallible/-fno-new-infallible
authormodimo <modimo@fb.com>
Wed, 1 Dec 2021 01:18:58 +0000 (17:18 -0800)
committermodimo <modimo@fb.com>
Wed, 1 Dec 2021 01:19:53 +0000 (17:19 -0800)
commit47f230ba2c8ff0e45e025163862ad699746b0ab0
tree9a5fda9c4952f61c9eef2f61704fad1f4aa91bce
parent520f641877cd58d9cc911de36284b458a7be13fb
Add toggling for -fnew-infallible/-fno-new-infallible

Allow toggling of -fnew-infallible so last instance takes precedence

Testing:
ninja check-all

Reviewed By: bruno

Differential Revision: https://reviews.llvm.org/D113523
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CodeGenCXX/new-infallible.cpp
clang/test/Driver/new-infallible.cpp [new file with mode: 0644]