[all-commits] [llvm/llvm-project] ba2aa5: [SampleFDO] Provide a virtual desructor for Sample...

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Feb 16 13:18:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba2aa5f49ebbe28ad2dbf0c5bea451f0ebf436c6
      https://github.com/llvm/llvm-project/commit/ba2aa5f49ebbe28ad2dbf0c5bea451f0ebf436c6
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h

  Log Message:
  -----------
  [SampleFDO] Provide a virtual desructor for SampleProfileLoaderBaseImpl

This patch fixes a warning:

  llvm-project/llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h:69:7:
  error: 'llvm::SampleProfileLoaderBaseImpl' has virtual functions but
  non-virtual destructor [-Werror,-Wnon-virtual-dtor]

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




More information about the All-commits mailing list