[all-commits] [llvm/llvm-project] 50eb5b: [NFC] Remove redundant CalculateSmallVectorDefault...

yurai007 via All-commits all-commits at lists.llvm.org
Sun Jul 31 02:48:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50eb5bcfcdcdc37e7f6975425c5966194129426f
      https://github.com/llvm/llvm-project/commit/50eb5bcfcdcdc37e7f6975425c5966194129426f
  Author: Dawid Jurczak <dawid_jurek at vp.pl>
  Date:   2022-07-31 (Sun, 31 Jul 2022)

  Changed paths:
    M llvm/include/llvm/ADT/SmallVector.h

  Log Message:
  -----------
  [NFC] Remove redundant CalculateSmallVectorDefaultInlinedElements usage from to_vector utility

CalculateSmallVectorDefaultInlinedElements<..>::value is already used as default value for second template parameter in SmallVector class declaration.
There is no need to pass it explicitly in to_vector.

Extracted from: https://reviews.llvm.org/D129781

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




More information about the All-commits mailing list