[all-commits] [llvm/llvm-project] b9852f: [clang-tidy] Ignore requires expr in bugprone-assi...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Jul 12 10:59:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9852ff5fc4986c6cf8c4ecd1eb5726d55a08ea3
      https://github.com/llvm/llvm-project/commit/b9852ff5fc4986c6cf8c4ecd1eb5726d55a08ea3
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/assignment-in-if-condition-cxx20.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore requires expr in bugprone-assignment-in-if-condition (#98079)

Ignore assignments in RequiresExpr, to avoid false positives.

Fixes #97972



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list