[all-commits] [llvm/llvm-project] 4cafc3: [clang-format] Add 'friend' to QualifierOrder

Micah Weston via All-commits all-commits at lists.llvm.org
Thu Dec 22 02:04:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cafc3727b35151e8f676adab11524bb21140939
      https://github.com/llvm/llvm-project/commit/4cafc3727b35151e8f676adab11524bb21140939
  Author: Micah Weston <micahsweston at gmail.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/unittests/Format/QualifierFixerTest.cpp

  Log Message:
  -----------
  [clang-format] Add 'friend' to QualifierOrder

For cases of defining friend functions, qualifier ordering can
allow multiple positions for the 'friend' token.

Closes #59450.

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




More information about the All-commits mailing list