[PATCH] D73413: [clang-tidy] Add check to detect external definitions with no header declaration
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 27 16:06:11 PST 2020
njames93 added a comment.
In D73413#1843103 <https://reviews.llvm.org/D73413#1843103>, @alexfh wrote:
> How is this different from `-Wmissing-prototypes`?
This checks variables too, and it looks for a prototype specifically in the header files. missing-prototypes just ensures there is a prototype of a function before its defined. It also checks based on linkage of the function/variable
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73413/new/
https://reviews.llvm.org/D73413
More information about the cfe-commits
mailing list