[PATCH] D125209: [clang-tidy] modernize-deprecated-headers check should respect extern "C" blocks
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 18 02:21:54 PDT 2022
steakhal updated this revision to Diff 430295.
steakhal marked an inline comment as done.
steakhal added a comment.
- Move all the `details` stuff into an anonymous namespace.
- Pass the `std::vector<IncludeMarker> &IncludesToBeProcessed` directly to the callbacks.
- Sink the `IncludeMarker` definition into the public part of `DeprecatedHeadersCheck`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125209/new/
https://reviews.llvm.org/D125209
Files:
clang-tools-extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp
clang-tools-extra/clang-tidy/modernize/DeprecatedHeadersCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-deprecated-headers/mylib.h
clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-deprecated-headers/mysystemlib.h
clang-tools-extra/test/clang-tidy/checkers/modernize-deprecated-headers-extern-c.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125209.430295.patch
Type: text/x-patch
Size: 12415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220518/714e8679/attachment-0001.bin>
More information about the cfe-commits
mailing list