[PATCH] D123456: [C89/C2x] Diagnose calls to a function without a prototype but passes arguments
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 9 08:35:54 PDT 2022
cor3ntin added inline comments.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:7052
+ // the call, diagnose this as calling a function without a prototype.
+ // However, if we found a function declaration, check to see if the strict
+ // uses without a prototype warning was disabled where the function was
----------------
aaron.ballman wrote:
> cor3ntin wrote:
> > I have a hard time parsing this sentence. I suspect words or punctuation are missing
> I reworded to mention the warning group specifically; that hopefully clears up the confusion.
Excellent !
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123456/new/
https://reviews.llvm.org/D123456
More information about the cfe-commits
mailing list