[all-commits] [llvm/llvm-project] 0f9e1e: [clang-tidy]: fix false positive of cert-oop54-cpp...

Tamás Zolnai via All-commits all-commits at lists.llvm.org
Sat Apr 4 08:44:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f9e1e3ae750df483b7fff905a8bc89262e3179e
      https://github.com/llvm/llvm-project/commit/0f9e1e3ae750df483b7fff905a8bc89262e3179e
  Author: Tamás Zolnai <tamas.zolnai at collabora.com>
  Date:   2020-04-04 (Sat, 04 Apr 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-self-assignment.cpp

  Log Message:
  -----------
  [clang-tidy]: fix false positive of cert-oop54-cpp check.

Summary:
It seems we need a different matcher for binary operator
in a template context.

Fixes this issue:
https://bugs.llvm.org/show_bug.cgi?id=44499

Reviewers: aaron.ballman, alexfh, hokein, njames93

Reviewed By: aaron.ballman

Subscribers: xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

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




More information about the All-commits mailing list