[PATCH] D91485: [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 19 05:30:12 PST 2020
aaron.ballman accepted this revision.
aaron.ballman added a comment.
LGTM!
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-pp-no-crash.cpp:1
+// RUN: clang-tidy %s -checks=-*,readability-else-after-return -- -std=c++11
+
----------------
You can drop the `-- -std=c++11` from this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91485/new/
https://reviews.llvm.org/D91485
More information about the cfe-commits
mailing list