[all-commits] [llvm/llvm-project] 61976a: [clang][driver] Enable MisExpect diagnostics flag ...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Thu Apr 27 14:20:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61976af3ba9347935e9715067fcc0f5a568e6e7d
https://github.com/llvm/llvm-project/commit/61976af3ba9347935e9715067fcc0f5a568e6e7d
Author: Paul Kirth <paulkirth at google.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/clang_f_opts.c
Log Message:
-----------
[clang][driver] Enable MisExpect diagnostics flag outside of CC1
Previously we only accepted the `-fdiagnostics-misexpect-tolerance=` at
CC1, when it should have been handled identically to
`-fdiagnostics-hotness-threshold=`. It should not have been required to
pass this flag w/ `-Xclang` as reported here:
https://reviews.llvm.org/D115907#inline-1440745
Reviewed By: hans, phosek
Differential Revision: https://reviews.llvm.org/D149206
More information about the All-commits
mailing list