[all-commits] [llvm/llvm-project] 6bd98b: [clang-tidy] Fix a false positive in bugprone-assi...
Nathan James via All-commits
all-commits at lists.llvm.org
Sat Aug 27 11:55:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6bd98b4f2df02955b72343038ecf20cdfd23e01e
https://github.com/llvm/llvm-project/commit/6bd98b4f2df02955b72343038ecf20cdfd23e01e
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/assignment-in-if-condition.cpp
Log Message:
-----------
[clang-tidy] Fix a false positive in bugprone-assignment-in-if-condition
Fixed a false positive where a lambda expression in the condition which contained an assignement would trigger a warning.
Fixes #56729
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D132786
More information about the All-commits
mailing list