Derive a Fingerprint from a Module's BasicSourceFileInfo

This commit is contained in:
Robert Widmann
2021-02-02 09:57:46 -08:00
parent 7c5f8a0e6c
commit b960c6e31c
3 changed files with 38 additions and 1 deletions

View File

@@ -94,6 +94,11 @@ public:
return llvm::hash_value(fp.core);
}
public:
bool operator<(const Fingerprint &other) const {
return core < other.core;
}
public:
/// The fingerprint value consisting of 32 bytes of zeroes.
///