[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
Sat Nov 28 08:03:15 PST 2020
njames93 updated this revision to Diff 308165.
njames93 added a comment.
Removed warnings on template definitions.
Added some basic fix-it support, need some lexer magic to create the fix-it for declarations declared with extern.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73413/new/
https://reviews.llvm.org/D73413
Files:
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/clang-tidy/misc/MissingHeaderFileDeclarationCheck.cpp
clang-tools-extra/clang-tidy/misc/MissingHeaderFileDeclarationCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/misc-missing-header-file-declaration.rst
clang-tools-extra/test/clang-tidy/checkers/Inputs/misc-missing-header-file-declaration/misc-missing-header-file-declaration.h
clang-tools-extra/test/clang-tidy/checkers/Inputs/misc-missing-header-file-declaration/wrong_header.h
clang-tools-extra/test/clang-tidy/checkers/misc-missing-header-file-declaration-any-header.cpp
clang-tools-extra/test/clang-tidy/checkers/misc-missing-header-file-declaration.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73413.308165.patch
Type: text/x-patch
Size: 22867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201128/67c8de70/attachment-0001.bin>
More information about the cfe-commits
mailing list