[all-commits] [llvm/llvm-project] a08485: [clang-tidy] Add readability-operators-representat...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Mar 31 09:07:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a084854266ca60748982228a4c98d036bca5f762
      https://github.com/llvm/llvm-project/commit/a084854266ca60748982228a4c98d036bca5f762
  Author: Piotr Zegar <piotr.zegar at nokia.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/CMakeLists.txt
    A clang-tools-extra/clang-tidy/readability/OperatorsRepresentationCheck.cpp
    A clang-tools-extra/clang-tidy/readability/OperatorsRepresentationCheck.h
    M clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/readability/operators-representation.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/operators-representation-to-alternative.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability/operators-representation-to-traditional.cpp

  Log Message:
  -----------
  [clang-tidy] Add readability-operators-representation check

Check helps enforce consistent token representation for binary, unary and
overloaded operators in C++ code. The check supports both traditional and
alternative representations of operators.

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list