[all-commits] [llvm/llvm-project] 05130a: new clang-tidy checker for assignments within cond...

Dmitri Gribenko via All-commits all-commits at lists.llvm.org
Tue Jul 5 14:04:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05130a6ba7d9974136388c1fbe63125596325d2e
      https://github.com/llvm/llvm-project/commit/05130a6ba7d9974136388c1fbe63125596325d2e
  Author: Dmitri Gribenko <gribozavr at gmail.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    A clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.cpp
    A clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h
    M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
    M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/bugprone/assignment-in-if-condition.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/bugprone-assignment-in-if-condition.cpp

  Log Message:
  -----------
  new clang-tidy checker for assignments within condition clause of if statement

new clang-tidy checker for assignments within the condition clause of an 'if' statement.

Reviewed By: gribozavr2

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




More information about the All-commits mailing list