[all-commits] [llvm/llvm-project] e1ba72: [clang-tidy] simplify-bool-expr ignores template i...

Nathan James via All-commits all-commits at lists.llvm.org
Tue Jun 16 05:55:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e1ba7241c3efc3a36439a6f80a7367c26cc193b1
      https://github.com/llvm/llvm-project/commit/e1ba7241c3efc3a36439a6f80a7367c26cc193b1
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr.cpp

  Log Message:
  -----------
  [clang-tidy] simplify-bool-expr ignores template instantiations

Ignore template instantiations in the matchers, Addresses [[ https://bugs.llvm.org/show_bug.cgi?id=46226 | readability-simplify-boolean-expr false-positive for bool from template. ]]

Reviewed By: aaron.ballman, lebedev.ri

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




More information about the All-commits mailing list