[all-commits] [llvm/llvm-project] 17785c: [clang-tidy] Fix "expression is redundant [misc-re...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Feb 4 13:38:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 17785cc7a105a56900ed827979336944ccfa8c9d
      https://github.com/llvm/llvm-project/commit/17785cc7a105a56900ed827979336944ccfa8c9d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp

  Log Message:
  -----------
  [clang-tidy] Fix "expression is redundant [misc-redundant-expression]" warning. NFCI. (PR44768)

We only accept tok::TokenKind::comment enum values so no need to add other cases. Seems to be a cut+paste typo.




More information about the All-commits mailing list