[PATCH] D83144: Allow to specify macro names for android-comparison-in-temp-failure-retry.

Florian Mayer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 12:57:46 PDT 2020


fmayer created this revision.
fmayer added a reviewer: george.burgess.iv.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Some projects do not use the TEMP_FAILURE_RETRY macro but define their own
one, as not to depend on glibc / Bionic details. By allowing the user to override the
list of macros, these projects can also benefit from this check.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83144

Files:
  clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp
  clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.h
  clang-tools-extra/docs/clang-tidy/checks/android-comparison-in-temp-failure-retry.rst
  clang-tools-extra/test/clang-tidy/checkers/android-comparison-in-temp-failure-retry.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83144.275450.patch
Type: text/x-patch
Size: 7250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200703/e046212c/attachment.bin>


More information about the cfe-commits mailing list