From e143253fa8bb382a33eb743b28341015d5d0d031 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 10 May 2020 20:33:51 +0100 Subject: [PATCH] DebugCounter.h - remove unused includes. NFC. Added explicit StringRef.h include as we need the full definition for several inline functions in DebugCounter.h. --- llvm/include/llvm/Support/DebugCounter.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Support/DebugCounter.h b/llvm/include/llvm/Support/DebugCounter.h index 2ea050f..cd9474a 100644 --- a/llvm/include/llvm/Support/DebugCounter.h +++ b/llvm/include/llvm/Support/DebugCounter.h @@ -44,14 +44,15 @@ #define LLVM_SUPPORT_DEBUGCOUNTER_H #include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/StringRef.h" #include "llvm/ADT/UniqueVector.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" -#include "llvm/Support/raw_ostream.h" #include namespace llvm { +class raw_ostream; + class DebugCounter { public: ~DebugCounter(); -- 2.7.4