[flang-commits] [flang] [flang] Use module file hashes for more checking and disambiguation (PR #80354)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 2 07:23:56 PST 2024
================
@@ -1155,12 +1182,17 @@ static bool FileContentsMatch(const std::string &path,
// Compute a simple hash of the contents of a module file and
// return it as a string of hex digits.
// This uses the Fowler-Noll-Vo hash function.
-static std::string CheckSum(const std::string_view &contents) {
- std::uint64_t hash{0xcbf29ce484222325ull};
+using ModuleCheckSumType = std::uint64_t;
----------------
jeanPerier wrote:
Is this required to define the alias here again?
https://github.com/llvm/llvm-project/pull/80354
More information about the flang-commits
mailing list