[all-commits] [llvm/llvm-project] e9e2e3: [STLExtras] Add append_range helper.

Sean Silva via All-commits all-commits at lists.llvm.org
Thu Nov 5 16:20:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e9e2e3107d6b4fb1bfdd877a83f1e214fcefea76
      https://github.com/llvm/llvm-project/commit/e9e2e3107d6b4fb1bfdd877a83f1e214fcefea76
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/unittests/ADT/STLExtrasTest.cpp

  Log Message:
  -----------
  [STLExtras] Add append_range helper.

This is convenient in a lot of cases, such as when the thing you want
to append is `someReallyLongFunctionName()` that you'd rather not
write twice or assign to a variable for the paired begin/end calls.

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




More information about the All-commits mailing list