[all-commits] [llvm/llvm-project] 829889: [ASTMatchers][NFC] Use SmallVector when building v...

Nathan James via All-commits all-commits at lists.llvm.org
Tue Mar 23 09:39:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8298899e56cdf89c68215853010352c45398ab10
      https://github.com/llvm/llvm-project/commit/8298899e56cdf89c68215853010352c45398ab10
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M clang/lib/ASTMatchers/Dynamic/Marshallers.h

  Log Message:
  -----------
  [ASTMatchers][NFC] Use SmallVector when building variadic matcher descriptor

Saves having to manually deallocate storage and keeps InnerArgs will have good cache locality.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list