diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-11-03 21:24:50 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-11-03 21:24:50 +0000 |
| commit | 1eaa844f3e6e8140375212f6578d449087f0d6f4 (patch) | |
| tree | f16635230cc5798b1700f87ab7c57e3ba870d1ff /clang/lib/Sema/SemaCodeComplete.cpp | |
| parent | f0c7dbd1c8026002afce3e74a72e3707b5b530c9 (diff) | |
| download | bcm5719-llvm-1eaa844f3e6e8140375212f6578d449087f0d6f4.tar.gz bcm5719-llvm-1eaa844f3e6e8140375212f6578d449087f0d6f4.zip | |
Don't diagnose no-prototype callee-cleanup function definitions
We already have a warning on the call sites of code like this:
void f() { }
void g() { f(1, 2, 3); }
t.c:2:21: warning: too many arguments in call to 'f'
We can limit ourselves to diagnosing unprototyped forward declarations
of f to cut down on noise.
llvm-svn: 221184
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions

