diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2022-06-22 08:06:08 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2022-06-22 08:56:38 -0400 |
commit | bb297024fad2f6c3ccaaa6a5c3a270f73f15f3ac (patch) | |
tree | 6b0920cc39bcc7e0054a8e3c6a0ccd177cec4af4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8958e70ccbe9c12b2d0b622b8b5623a8f47bb183 (diff) | |
download | llvm-bb297024fad2f6c3ccaaa6a5c3a270f73f15f3ac.zip llvm-bb297024fad2f6c3ccaaa6a5c3a270f73f15f3ac.tar.gz llvm-bb297024fad2f6c3ccaaa6a5c3a270f73f15f3ac.tar.bz2 |
Don't treat invalid parameters as being unused
The misc-unused-parameters check would trigger false positive warnings
about the parameter being unused when the parameter declaration was
invalid. No longer issue the warning in that case on the assumption
that most parameters are used in practice, so the extra diagnostic is
most likely a false positive.
Fixes #56152
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions