CoverageFilters.h - reduce unnecessary includes to forward declarations. NFC.

This commit is contained in:
Simon Pilgrim 2020-05-27 16:57:28 +01:00
parent 31f40f603d
commit 6022efb0e9
3 changed files with 9 additions and 3 deletions

View File

@ -33,6 +33,7 @@
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/SpecialCaseList.h"
#include "llvm/Support/ThreadPool.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/ToolOutputFile.h"

View File

@ -13,6 +13,7 @@
#include "CoverageFilters.h"
#include "CoverageSummaryInfo.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/SpecialCaseList.h"
using namespace llvm;

View File

@ -13,13 +13,17 @@
#ifndef LLVM_COV_COVERAGEFILTERS_H
#define LLVM_COV_COVERAGEFILTERS_H
#include "CoverageSummaryInfo.h"
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
#include "llvm/Support/SpecialCaseList.h"
#include "llvm/ADT/StringRef.h"
#include <memory>
#include <vector>
namespace llvm {
class SpecialCaseList;
namespace coverage {
class CoverageMapping;
struct FunctionRecord;
}; // namespace coverage
/// Matches specific functions that pass the requirement of this filter.
class CoverageFilter {