[all-commits] [llvm/llvm-project] fc3537: Ensure that APIRecords get destroyed correctly.

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Fri Mar 18 17:50:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc3537697db7724834d8071cfee10cacceb9fc2a
      https://github.com/llvm/llvm-project/commit/fc3537697db7724834d8071cfee10cacceb9fc2a
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-03-19 (Sat, 19 Mar 2022)

  Changed paths:
    M clang/include/clang/SymbolGraph/API.h
    M clang/lib/SymbolGraph/API.cpp
    M clang/test/SymbolGraph/global_record.c

  Log Message:
  -----------
  Ensure that APIRecords get destroyed correctly.

Implements an APISet specific unique ptr type that has a custom deleter
that just calls the underlying APIRecord subclass destructor.




More information about the All-commits mailing list