[all-commits] [llvm/llvm-project] 8c386c: [SmallVector] Move error handling out of line

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sun Sep 6 09:11:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c386c94749a78392fd763f8449ca3e55f030ffd
      https://github.com/llvm/llvm-project/commit/8c386c94749a78392fd763f8449ca3e55f030ffd
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-09-06 (Sun, 06 Sep 2020)

  Changed paths:
    M llvm/include/llvm/ADT/SmallVector.h
    M llvm/lib/Support/SmallVector.cpp

  Log Message:
  -----------
  [SmallVector] Move error handling out of line

This reduces duplication and avoids emitting ice cold code into every
instance of grow().




More information about the All-commits mailing list