[llvm] 7a33eaf - ProfileSummaryInfo.h - remove unnecessary ProfileSummary forward declaration. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 08:35:26 PDT 2020


Author: Simon Pilgrim
Date: 2020-07-22T16:35:14+01:00
New Revision: 7a33eafd8c4da6cca2e7158dd8ec64cb6e3f8caa

URL: https://github.com/llvm/llvm-project/commit/7a33eafd8c4da6cca2e7158dd8ec64cb6e3f8caa
DIFF: https://github.com/llvm/llvm-project/commit/7a33eafd8c4da6cca2e7158dd8ec64cb6e3f8caa.diff

LOG: ProfileSummaryInfo.h - remove unnecessary ProfileSummary forward declaration. NFCI.

This is defined in ProfileSummary.h which we have to explicitly include already.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/ProfileSummaryInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/ProfileSummaryInfo.h b/llvm/include/llvm/Analysis/ProfileSummaryInfo.h
index a1fea9fefc9a..fe1891e440c2 100644
--- a/llvm/include/llvm/Analysis/ProfileSummaryInfo.h
+++ b/llvm/include/llvm/Analysis/ProfileSummaryInfo.h
@@ -25,7 +25,6 @@ class BasicBlock;
 class BlockFrequencyInfo;
 class CallBase;
 class Function;
-class ProfileSummary;
 
 /// Analysis providing profile information.
 ///


        


More information about the llvm-commits mailing list