File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -632,14 +632,14 @@ namespace swift {
632
632
// / contribute to a Swift Dependency Scanning hash.
633
633
llvm::hash_code getModuleScanningHashComponents () const {
634
634
auto hashValue = getPCHHashComponents ();
635
- if (TargetVariant.hasValue ())
636
- hashValue = llvm::hash_combine (hashValue, TargetVariant.getValue ().str ());
637
- if (ClangTarget.hasValue ())
638
- hashValue = llvm::hash_combine (hashValue, ClangTarget.getValue ().str ());
639
- if (SDKVersion.hasValue ())
640
- hashValue = llvm::hash_combine (hashValue, SDKVersion.getValue ().getAsString ());
641
- if (VariantSDKVersion.hasValue ())
642
- hashValue = llvm::hash_combine (hashValue, VariantSDKVersion.getValue ().getAsString ());
635
+ if (TargetVariant.has_value ())
636
+ hashValue = llvm::hash_combine (hashValue, TargetVariant.value ().str ());
637
+ if (ClangTarget.has_value ())
638
+ hashValue = llvm::hash_combine (hashValue, ClangTarget.value ().str ());
639
+ if (SDKVersion.has_value ())
640
+ hashValue = llvm::hash_combine (hashValue, SDKVersion.value ().getAsString ());
641
+ if (VariantSDKVersion.has_value ())
642
+ hashValue = llvm::hash_combine (hashValue, VariantSDKVersion.value ().getAsString ());
643
643
return hashValue;
644
644
}
645
645
You can’t perform that action at this time.
0 commit comments