[all-commits] [llvm/llvm-project] 7e5682: [ADT] Make TrackingStatistic's ctor constexpr

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed Apr 28 03:02:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e5682ee6201c17b07de326806cf2d19d2f8935a
      https://github.com/llvm/llvm-project/commit/7e5682ee6201c17b07de326806cf2d19d2f8935a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M llvm/include/llvm/ADT/Statistic.h
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp

  Log Message:
  -----------
  [ADT] Make TrackingStatistic's ctor constexpr

This lets clang diagnose unused statistics, so remove them.




More information about the All-commits mailing list