From 2b74755ec5266ed828218fc877b4c6dc071987bf Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 12 Apr 2020 14:30:52 +0100 Subject: [PATCH] TrigramIndex.h - remove unnecessary StringMap.h include. NFC Include StringRef.h inside TrigramIndex.cpp as thats the only part of StringMap.h that is actually required. --- llvm/include/llvm/Support/TrigramIndex.h | 1 - llvm/lib/Support/TrigramIndex.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/TrigramIndex.h b/llvm/include/llvm/Support/TrigramIndex.h index 9351c2db169a..d635694eb5fd 100644 --- a/llvm/include/llvm/Support/TrigramIndex.h +++ b/llvm/include/llvm/Support/TrigramIndex.h @@ -27,7 +27,6 @@ #define LLVM_SUPPORT_TRIGRAMINDEX_H #include "llvm/ADT/SmallVector.h" -#include "llvm/ADT/StringMap.h" #include #include diff --git a/llvm/lib/Support/TrigramIndex.cpp b/llvm/lib/Support/TrigramIndex.cpp index 94810b56db8e..88375e6e7863 100644 --- a/llvm/lib/Support/TrigramIndex.cpp +++ b/llvm/lib/Support/TrigramIndex.cpp @@ -16,6 +16,7 @@ #include "llvm/Support/TrigramIndex.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/ADT/StringRef.h" #include #include