SizeOpts.h - remove ProfileSummaryInfo forward declaration. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 10 Apr 2020 14:27:18 +0000 (15:27 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 10 Apr 2020 14:47:56 +0000 (15:47 +0100)
We're include the entire ProfileSummaryInfo.h as inline functions use it in the header.

llvm/include/llvm/Transforms/Utils/SizeOpts.h

index df3fe04048c97bc43c5df901f52234367e447629..d4a2d8edb4597de6e9875f162e30a6aad7786857 100644 (file)
@@ -32,7 +32,6 @@ namespace llvm {
 class BasicBlock;
 class BlockFrequencyInfo;
 class Function;
-class ProfileSummaryInfo;
 
 enum class PGSOQueryType {
   IRPass, // A query call from an IR-level transform pass.