[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
Mon Sep 14 02:29:54 PDT 2020
fmayer added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/android-comparison-in-temp-failure-retry-custom-macro.c:25
+void with_custom_macro() {
+ MY_TEMP_FAILURE_RETRY((foo()));
+ MY_TEMP_FAILURE_RETRY((int)(foo() == 1));
----------------
alexfh wrote:
> Are the extra parentheses required for the macro to work? Can it be just `MY_TEMP_FAILURE_RETRY(foo());` ?
Added the more simple case as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83144/new/
https://reviews.llvm.org/D83144
More information about the cfe-commits
mailing list