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.
This commit is contained in:
Simon Pilgrim 2020-04-12 14:30:52 +01:00
parent 688ac00bb2
commit 2b74755ec5
2 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,6 @@
#define LLVM_SUPPORT_TRIGRAMINDEX_H #define LLVM_SUPPORT_TRIGRAMINDEX_H
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>

View File

@ -16,6 +16,7 @@
#include "llvm/Support/TrigramIndex.h" #include "llvm/Support/TrigramIndex.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include <set> #include <set>
#include <string> #include <string>