[all-commits] [llvm/llvm-project] a887b9: [clang-format] Turn global COperatorsFollowingVar ...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sat Mar 5 09:02:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a887b95edf34117b0274e5c9443ef6afa58b058a
      https://github.com/llvm/llvm-project/commit/a887b95edf34117b0274e5c9443ef6afa58b058a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-03-05 (Sat, 05 Mar 2022)

  Changed paths:
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/UnwrappedLineParser.cpp

  Log Message:
  -----------
  [clang-format] Turn global COperatorsFollowingVar vector into a switch

LLVM optimizes this into a bit test. NFCI.




More information about the All-commits mailing list