Skip to content

Commit 2b6be97

Browse files
MaskRayAlexisPerry
authored andcommitted
[Lex] HeaderSearchOptions: Remove unused hash_value overloads
1 parent 27699c3 commit 2b6be97

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

clang/include/clang/Lex/HeaderSearchOptions.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
#include "clang/Basic/LLVM.h"
1313
#include "llvm/ADT/CachedHashString.h"
14-
#include "llvm/ADT/Hashing.h"
1514
#include "llvm/ADT/SetVector.h"
1615
#include "llvm/ADT/StringRef.h"
1716
#include "llvm/Support/HashBuilder.h"
@@ -310,21 +309,12 @@ class HeaderSearchOptions {
310309
}
311310
};
312311

313-
inline llvm::hash_code hash_value(const HeaderSearchOptions::Entry &E) {
314-
return llvm::hash_combine(E.Path, E.Group, E.IsFramework, E.IgnoreSysRoot);
315-
}
316-
317312
template <typename HasherT, llvm::endianness Endianness>
318313
inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
319314
const HeaderSearchOptions::Entry &E) {
320315
HBuilder.add(E.Path, E.Group, E.IsFramework, E.IgnoreSysRoot);
321316
}
322317

323-
inline llvm::hash_code
324-
hash_value(const HeaderSearchOptions::SystemHeaderPrefix &SHP) {
325-
return llvm::hash_combine(SHP.Prefix, SHP.IsSystemHeader);
326-
}
327-
328318
template <typename HasherT, llvm::endianness Endianness>
329319
inline void addHash(llvm::HashBuilder<HasherT, Endianness> &HBuilder,
330320
const HeaderSearchOptions::SystemHeaderPrefix &SHP) {

0 commit comments

Comments
 (0)