[all-commits] [llvm/llvm-project] 9d40fb: Allow to specify macro names for android-compariso...

Florian Mayer via All-commits all-commits at lists.llvm.org
Thu Oct 1 10:12:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d40fb808fd0fbd33eb3b50c20d7f402de5db91e
      https://github.com/llvm/llvm-project/commit/9d40fb808fd0fbd33eb3b50c20d7f402de5db91e
  Author: Florian Mayer <florian.mayer at bitsrc.org>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp
    M clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.h
    M clang-tools-extra/docs/clang-tidy/checks/android-comparison-in-temp-failure-retry.rst
    A clang-tools-extra/test/clang-tidy/checkers/android-comparison-in-temp-failure-retry-custom-macro.c

  Log Message:
  -----------
  Allow to specify macro names for android-comparison-in-temp-failure-retry

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.

Differential Revision: https://reviews.llvm.org/D83144




More information about the All-commits mailing list