[flang-commits] [flang] [flang] Use module file hashes for more checking and disambiguation (PR #80354)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Feb 2 08:19:18 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;
----------------
klausler wrote:

No, this was just its original placement; removed.

https://github.com/llvm/llvm-project/pull/80354


More information about the flang-commits mailing list