[all-commits] [llvm/llvm-project] 768a61: [clang-format] Reserve vectors when the number of ...

Marek Kurdej via All-commits all-commits at lists.llvm.org
Thu Feb 3 01:40:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 768a6192dfc680c0c941e713c824b9046429538d
      https://github.com/llvm/llvm-project/commit/768a6192dfc680c0c941e713c824b9046429538d
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M clang/lib/Format/FormatToken.cpp
    M clang/lib/Format/TokenAnalyzer.cpp

  Log Message:
  -----------
  [clang-format] Reserve vectors when the number of items is known beforehand. NFC.




More information about the All-commits mailing list