PR41183: Don't emit strict-prototypes warning for an implicit function
authorJames Y Knight <jyknight@google.com>
Mon, 6 May 2019 21:37:59 +0000 (21:37 +0000)
committerJames Y Knight <jyknight@google.com>
Mon, 6 May 2019 21:37:59 +0000 (21:37 +0000)
commit1fe312b34b742599be26a144b5318a1c9bfc65d4
tree7bf4b78a5027fb0e58974ed4c15cae5cbc53523e
parent214de0f8eeeb41e074467a9ba98714479d28a54d
PR41183: Don't emit strict-prototypes warning for an implicit function
declaration.

It should emit _only_ an implicit-function-declaration warning, not
both of them.

Differential Revision: https://reviews.llvm.org/D59711

llvm-svn: 360084
clang/lib/Sema/SemaType.cpp
clang/test/Sema/warn-strict-prototypes.c