[PATCH] D71846: [ASTMatchers] Fix for https://bugs.llvm.org/show_bug.cgi?id=44364
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 1 10:49:10 PST 2020
aaron.ballman accepted this revision.
aaron.ballman added a comment.
The new option LGTM but one of the tests can be updated to have a less complex RUN line.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return.cpp:2-3
+// RUN: %check_clang_tidy %s readability-else-after-return %t -- \
+// RUN: -config='{CheckOptions: [ \
+// RUN: {key: readability-else-after-return.WarnOnUnfixable, value: 1}, \
+// RUN: ]}' -- -fexceptions -std=c++17
----------------
You don't need to explicitly set it to `1` here.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71846/new/
https://reviews.llvm.org/D71846
More information about the cfe-commits
mailing list