[all-commits] [llvm/llvm-project] 480a1f: [clang-format] Fix incorrect alignment of operator...

Elliott via All-commits all-commits at lists.llvm.org
Wed Jan 19 01:18:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 480a1fab72f4e367a5986d572914d252c318431d
      https://github.com/llvm/llvm-project/commit/480a1fab72f4e367a5986d572914d252c318431d
  Author: Elliott Maguire <glotchimo at pm.me>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix incorrect alignment of operator= overloads.

Fixes https://github.com/llvm/llvm-project/issues/31568.

Added a check for operator keyword tokens.

Reviewed By: MyDeveloperDay, curdeius, owenpan, HazardyKnusperkeks

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




More information about the All-commits mailing list