[llvm] [llvm-cov] Fix branch counts of template functions (#111743) (PR #113925)
Alan Phipps via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 11:15:40 PST 2024
================
@@ -43,9 +43,26 @@
#include "CoverageReport.h"
using namespace llvm;
+using namespace coverage;
namespace {
+struct NestedCountedRegion : public coverage::CountedRegion {
+ // Contains the path to default and expanded branches
+ // Size is 1 for default branches and greater 1 for expanded branches.
+ std::vector<LineColPair> NestedPath;
+ // Indicates whether this item should at rendering
----------------
evodius96 wrote:
Nit: For LLVM, it's typically to end comments with a period.
https://github.com/llvm/llvm-project/pull/113925
More information about the llvm-commits
mailing list