[all-commits] [llvm/llvm-project] fa6aef: [clang-tidy] Added a case to UnconventionalAssignO...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Wed Feb 19 01:08:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fa6aef44277230adecb541c78a71978172accd5c
      https://github.com/llvm/llvm-project/commit/fa6aef44277230adecb541c78a71978172accd5c
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc-unconventional-assign-operator.cpp

  Log Message:
  -----------
  [clang-tidy] Added a case to UnconventionalAssignOperatorCheck.

Summary:
The check accepts now a `return (*this = something);` as return
statement too (beneath of `*this`).

Reviewers: alexfh, hokein, aaron.ballman, JonasToth

Reviewed By: aaron.ballman

Subscribers: xazax.hun, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang, #clang-tools-extra

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




More information about the All-commits mailing list