Skip to content

Commit e384f23

Browse files
committed
[Index] Add empty record hashing for structural values
1 parent 500820c commit e384f23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/Index/IndexRecordHasher.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ static hash_code computeHash(const TemplateArgument &Arg,
367367
case TemplateArgument::Integral:
368368
COMBINE_HASH('V', Hasher.hash(Arg.getIntegralType()), Arg.getAsIntegral());
369369
break;
370+
371+
case TemplateArgument::StructuralValue:
372+
// FIXME: Hash structural values
373+
break;
370374
}
371375

372376
return Hash;

0 commit comments

Comments
 (0)