[all-commits] [llvm/llvm-project] f71705: Silence a duplicate diagnostic about K&R C functio...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Oct 6 07:08:43 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7170500cf10ea9d685eb655c76a7c393fb18708
https://github.com/llvm/llvm-project/commit/f7170500cf10ea9d685eb655c76a7c393fb18708
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/warn-deprecated-non-prototype.c
Log Message:
-----------
Silence a duplicate diagnostic about K&R C function definitions
We would issue the same diagnostic twice in the case that the K&R C
function definition is preceded by a static declaration of the function
with a prototype.
Fixes #58181
More information about the All-commits
mailing list