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 d934d17 commit 69ce681Copy full SHA for 69ce681
clang/lib/Serialization/ASTWriter.cpp
@@ -1237,7 +1237,7 @@ ASTWriter::createSignature() const {
1237
Hasher.update(
1238
AllBytes.slice(UnhashedControlBlockRange.second, ASTBlockRange.first));
1239
// 3. After the AST block.
1240
- Hasher.update(AllBytes.slice(ASTBlockRange.second, StringRef::npos));
+ Hasher.update(AllBytes.substr(ASTBlockRange.second));
1241
ASTFileSignature Signature = ASTFileSignature::create(Hasher.result());
1242
1243
return std::make_pair(ASTBlockHash, Signature);
0 commit comments