Skip to content

Commit dc6b04f

Browse files
review: explicitly use hash_code
Co-authored-by: Aaron Ballman <[email protected]>
1 parent 48ac876 commit dc6b04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ void SemaHLSL::emitLogicalOperatorFixIt(Expr *LHS, Expr *RHS,
973973

974974
std::pair<IdentifierInfo *, bool>
975975
SemaHLSL::ActOnStartRootSignatureDecl(StringRef Signature) {
976-
auto Hash = llvm::hash_value(Signature);
976+
llvm::hash_code Hash = llvm::hash_value(Signature);
977977
std::string IdStr = "__hlsl_rootsig_decl_" + std::to_string(Hash);
978978
IdentifierInfo *DeclIdent = &(getASTContext().Idents.get(IdStr));
979979

0 commit comments

Comments
 (0)