serge-sans-paille
d47ee525f9
[clang-tooling] Prevent llvm::fatal_error on invalid CLI option
...
Fail gracefully instead. Prevent further misuse by enforcing the factory builder
instead of the constructor.
Differential Revision: https://reviews.llvm.org/D94420
2021-01-29 10:15:06 +01:00
Nathan James
5952125691
clang-tidy and clang-query wont crash with invalid command line options
...
Motivated by [[ https://bugs.llvm.org/show_bug.cgi?id=46141 | clang-tidy crashed for unknown command line argument. ]]
Reviewed By: aaron.ballman, thakis
Differential Revision: https://reviews.llvm.org/D80879
2020-05-31 17:41:29 +01:00
Nathan James
f4b0ebb89b
Revert "clang-tidy and clang-query wont crash with invalid command line options"
...
This reverts commit f23ddbe3c3
.
2020-05-31 16:40:09 +01:00
Nathan James
f23ddbe3c3
clang-tidy and clang-query wont crash with invalid command line options
...
Summary: Motivated by [[ https://bugs.llvm.org/show_bug.cgi?id=46141 | clang-tidy crashed for unknown command line argument. ]]
Reviewers: aaron.ballman, alexfh
Reviewed By: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80879
2020-05-31 16:01:41 +01:00