[llvm] e143253 - DebugCounter.h - remove unused includes. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue May 12 05:04:12 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-12T13:03:49+01:00
New Revision: e143253fa8bb382a33eb743b28341015d5d0d031
URL: https://github.com/llvm/llvm-project/commit/e143253fa8bb382a33eb743b28341015d5d0d031
DIFF: https://github.com/llvm/llvm-project/commit/e143253fa8bb382a33eb743b28341015d5d0d031.diff
LOG: DebugCounter.h - remove unused includes. NFC.
Added explicit StringRef.h include as we need the full definition for several inline functions in DebugCounter.h.
Added:
Modified:
llvm/include/llvm/Support/DebugCounter.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/DebugCounter.h b/llvm/include/llvm/Support/DebugCounter.h
index 2ea050f30015..cd9474a4d918 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 <string>
namespace llvm {
+class raw_ostream;
+
class DebugCounter {
public:
~DebugCounter();
More information about the llvm-commits
mailing list