[PATCH] D72333: [clang-tidy] Disable match on `if constexpr` statements in template instantiation for `readability-misleading-indentation` check.

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 09:18:10 PST 2020


JonasToth added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/readability-misleading-indentation.cpp:172
+void call() {
+  mustPass<true>();
+  mustPass<false>();
----------------
please add an case that does not get instantiated, with both bad and good indentation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72333/new/

https://reviews.llvm.org/D72333





More information about the cfe-commits mailing list