================
@@ -34,6 +38,12 @@ enum class Confidence : uint8_t {
Definite // Reported as a definite error (-Wlifetime-safety-permissive)
};
+/// A structure to hold the statistics related to LifetimeAnalysis.
+/// Curently it holds only the missing origin details.
+struct LifetimeSafetyStats {
+ llvm::StringMap<unsigned> MissingOriginCount;
----------------
usx95 wrote:
Can you add comment about this.
Example: Tracks expressions and their counts that do not get associated to an
Origin after the end of the analysis.
https://github.com/llvm/llvm-project/pull/166568
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits