[llvm] r309906 - Move two functions to a nicer spot. NFC.

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 16:35:27 PDT 2017


Author: vedantk
Date: Wed Aug  2 16:35:27 2017
New Revision: 309906

URL: http://llvm.org/viewvc/llvm-project?rev=309906&view=rev
Log:
Move two functions to a nicer spot. NFC.

Modified:
    llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h

Modified: llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h?rev=309906&r1=309905&r2=309906&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h (original)
+++ llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h Wed Aug  2 16:35:27 2017
@@ -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:




More information about the llvm-commits mailing list