]> granicus.if.org Git - llvm/commitdiff
Move two functions to a nicer spot. NFC.
authorVedant Kumar <vsk@apple.com>
Wed, 2 Aug 2017 23:35:27 +0000 (23:35 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 2 Aug 2017 23:35:27 +0000 (23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309906 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ProfileData/Coverage/CoverageMapping.h

index 5e585068eaa3a849f8aa02849f56a5142ddc33f2..a315b66aafe6ffb0982603ebb7c18f2f95dcbeb1 100644 (file)
@@ -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<FunctionRecordIterator> 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<InstantiationGroup>
   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: