[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
Fri Nov 27 15:35:56 PST 2020


njames93 updated this revision to Diff 308122.
njames93 added a comment.

Fix failing test case.


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.308122.patch
Type: text/x-patch
Size: 20947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201127/b1504ea5/attachment-0001.bin>


More information about the cfe-commits mailing list