map path more canonical before hashing it. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223547
91177308-0d34-0410-b5e6-
96231b3b80d8
// error if they are imported in the same translation.
SmallString<256> AbsModuleMapPath(ModuleMapPath);
llvm::sys::fs::make_absolute(AbsModuleMapPath);
+ llvm::sys::path::native(AbsModuleMapPath);
llvm::APInt Code(64, llvm::hash_value(AbsModuleMapPath.str().lower()));
SmallString<128> HashStr;
Code.toStringUnsigned(HashStr, /*Radix*/36);