Skip to content

Commit 506f717

Browse files
committed
fix build
1 parent e04b68f commit 506f717

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

clang/include/clang/AST/ASTContext.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3873,26 +3873,5 @@ typename clang::LazyGenerationalUpdatePtr<Owner, T, Update>::ValueType
38733873
return Value;
38743874
}
38753875

3876-
template <> struct llvm::DenseMapInfo<llvm::FoldingSetNodeID> {
3877-
static FoldingSetNodeID getEmptyKey() { return FoldingSetNodeID{}; }
3878-
3879-
static FoldingSetNodeID getTombstoneKey() {
3880-
FoldingSetNodeID id;
3881-
for (size_t i = 0; i < sizeof(id) / sizeof(unsigned); ++i) {
3882-
id.AddInteger(std::numeric_limits<unsigned>::max());
3883-
}
3884-
return id;
3885-
}
3886-
3887-
static unsigned getHashValue(const FoldingSetNodeID &Val) {
3888-
return Val.ComputeHash();
3889-
}
3890-
3891-
static bool isEqual(const FoldingSetNodeID &LHS,
3892-
const FoldingSetNodeID &RHS) {
3893-
return LHS == RHS;
3894-
}
3895-
};
3896-
38973876

38983877
#endif // LLVM_CLANG_AST_ASTCONTEXT_H

0 commit comments

Comments
 (0)