We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678ccd5 commit 72c0fc2Copy full SHA for 72c0fc2
llvm/lib/LTO/LTO.cpp
@@ -135,7 +135,7 @@ std::string llvm::computeLTOCacheKey(
135
Hasher.update(Data);
136
};
137
auto AddUint8 = [&](const uint8_t I) {
138
- Hasher.update(ArrayRef<uint8_t>((const uint8_t *)&I, 1));
+ Hasher.update(ArrayRef<uint8_t>(&I, 1));
139
140
AddString(Conf.CPU);
141
// FIXME: Hash more of Options. For now all clients initialize Options from
0 commit comments