[all-commits] [llvm/llvm-project] 3d51e2: [NFC] Remove some boilerplate from SmallVector uni...

yurai007 via All-commits all-commits at lists.llvm.org
Wed Aug 3 01:32:35 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d51e2727d21ddf1ba87784635513393c8dc0098
  Author: Dawid Jurczak <dawid_jurek at vp.pl>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M llvm/unittests/ADT/SmallVectorTest.cpp

  Log Message:
  [NFC] Remove some boilerplate from SmallVector unit tests

In SmallVector unit test, referring test suite members every time using 'this'
(due to how non-dependent name lookups works) is quite cumbersome and can be improved with aliases.
Some test cases already use this approach, in this change we expand that approach to whole test file.

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

More information about the All-commits mailing list