[cfe-commits] r170399 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDecl.cpp test/Sema/warn-missing-prototypes.c
Jordan Rose
jordan_rose at apple.com
Tue Dec 18 09:08:35 PST 2012
On Dec 17, 2012, at 20:01 , Douglas Gregor <dgregor at apple.com> wrote:
>
> On Dec 17, 2012, at 5:58 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>
>> I convinced myself it should never happen, but can you add a negative C++ test as well?
>>
>> (In C++ an empty parameter list is equivalent to one with 'void', but that would make the advance declaration a prototype.)
>
> I don't see the point. C++ doesn't have functions without prototypes.
Ah...okay, so even if you have the warning on for C++, there is no way to get it to fire. Got it.
Jordan
More information about the cfe-commits
mailing list