Home | History | Annotate | Download | only in llvm-cov

Lines Matching refs:View

1 //===- SourceCoverageView.h - Code coverage view for source code ----------===//
26 /// \brief A view that represents a macro or include expansion
29 std::unique_ptr<SourceCoverageView> View;
32 std::unique_ptr<SourceCoverageView> View)
33 : Region(Region), View(std::move(View)) {}
35 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {}
38 View = std::move(RHS.View);
51 /// \brief A view that represents a function instantiation
55 std::unique_ptr<SourceCoverageView> View;
58 std::unique_ptr<SourceCoverageView> View)
59 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {}
62 View(std::move(RHS.View)) {}
66 View = std::move(RHS.View);
76 /// \brief A code coverage view of a specific source file.
142 /// \brief Add an expansion subview to this view.
144 std::unique_ptr<SourceCoverageView> View) {
145 ExpansionSubViews.emplace_back(Region, std::move(View));
148 /// \brief Add a function instantiation subview to this view.
150 std::unique_ptr<SourceCoverageView> View) {
151 InstantiationSubViews.emplace_back(FunctionName, Line, std::move(View));