aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CachePruning.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-08 13:15:49 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-08 14:06:53 +0100
commita30f5fd94dedaa900d9b50d4460924d9cd6ac48b (patch)
tree8cf204e414d7cb1e35f0496e7073676553b283cf /llvm/lib/Support/CachePruning.cpp
parentc60c80e0cf2b83875767479083f7a3d99a98755f (diff)
downloadllvm-a30f5fd94dedaa900d9b50d4460924d9cd6ac48b.zip
llvm-a30f5fd94dedaa900d9b50d4460924d9cd6ac48b.tar.gz
llvm-a30f5fd94dedaa900d9b50d4460924d9cd6ac48b.tar.bz2
CachePruning.h - reduce StringRef.h to Optional.h include. NFC
We only need to include Optional.h, forward declare StringRef and move the StringRef.h include down to CachePruning.cpp.
Diffstat (limited to 'llvm/lib/Support/CachePruning.cpp')
-rw-r--r--llvm/lib/Support/CachePruning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CachePruning.cpp b/llvm/lib/Support/CachePruning.cpp
index 7a2f6c5..7663644 100644
--- a/llvm/lib/Support/CachePruning.cpp
+++ b/llvm/lib/Support/CachePruning.cpp
@@ -11,7 +11,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/CachePruning.h"
-
+#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"