================ @@ -0,0 +1,33 @@ +//===- LifetimeStats.h - Miscellaneous statistics related to lifetime safety +//analysis ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------------------------------===// +// +// This file declares the data structures and utility function for collection of +// staticstics related to Lifetimesafety analysis. +// +//===----------------------------------------------------------------------------------------------===// + +#ifndef LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMESAFETY_LIFETIMESTATS_H +#define LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMESAFETY_LIFETIMESTATS_H + +#include "llvm/ADT/StringMap.h" + +namespace clang::lifetimes { +/// A structure to hold the statistics related to LifetimeAnalysis. ---------------- usx95 wrote:
nit: Also add that this is accumulated and printed ``` /// These are accumulated across all analyzed functions and printed /// when -print-stats is enabled. ``` https://github.com/llvm/llvm-project/pull/166568 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
