From: Vedant Kumar Date: Wed, 2 Aug 2017 23:35:27 +0000 (+0000) Subject: Move two functions to a nicer spot. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7247b5f8fe9d47a26ba1ff2de1c63491ba526c8;p=llvm Move two functions to a nicer spot. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309906 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ProfileData/Coverage/CoverageMapping.h b/include/llvm/ProfileData/Coverage/CoverageMapping.h index 5e585068eaa..a315b66aafe 100644 --- a/include/llvm/ProfileData/Coverage/CoverageMapping.h +++ b/include/llvm/ProfileData/Coverage/CoverageMapping.h @@ -531,6 +531,12 @@ public: /// yield a result. CoverageData getCoverageForFile(StringRef Filename) const; + /// Get the coverage for a particular function. + CoverageData getCoverageForFunction(const FunctionRecord &Function) const; + + /// Get the coverage for an expansion within a coverage set. + CoverageData getCoverageForExpansion(const ExpansionRecord &Expansion) const; + /// Gets all of the functions covered by this profile. iterator_range getCoveredFunctions() const { return make_range(FunctionRecordIterator(Functions), @@ -550,12 +556,6 @@ public: /// the file in which the definition for the common function begins. std::vector getInstantiationGroups(StringRef Filename) const; - - /// Get the coverage for a particular function. - CoverageData getCoverageForFunction(const FunctionRecord &Function) const; - - /// Get the coverage for an expansion within a coverage set. - CoverageData getCoverageForExpansion(const ExpansionRecord &Expansion) const; }; // Profile coverage map has the following layout: