[PATCH] D73413: [clang-tidy] Add check to detect external definitions with no header declaration
Noel Grandin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 26 10:45:55 PST 2020
grandinj added a comment.
You might want to look at the equivalent LibreOffice checkers, which we have been using for some time
https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/external.cxx
https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/test/external.cxx
https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/externandnotdefined.cxx
https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/externvar.cxx
https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/test/externvar.hxx
https://cgit.freedesktop.org/libreoffice/core/tree/compilerplugins/clang/test/externvar.cxx
As you can see, we are a little less organised :-)
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