mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Spelling dependencyscan (#42519)
* spelling: consist Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: cross Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: diagnose Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: distinguished Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dummy Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: expect Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: individual Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: invoke Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: occurrences Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: parsed Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: retrieving Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: specific Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: underlying Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -589,7 +589,7 @@ using ModuleIdentifierArrayKey =
|
||||
template <>
|
||||
struct llvm::DenseMapInfo<ModuleIdentifierArrayKind> {
|
||||
using UnderlyingType = std::underlying_type<ModuleIdentifierArrayKind>::type;
|
||||
using UnerlyingInfo = DenseMapInfo<UnderlyingType>;
|
||||
using UnderlyingInfo = DenseMapInfo<UnderlyingType>;
|
||||
|
||||
static inline ModuleIdentifierArrayKind getEmptyKey() {
|
||||
return ModuleIdentifierArrayKind::Empty;
|
||||
@@ -599,7 +599,7 @@ struct llvm::DenseMapInfo<ModuleIdentifierArrayKind> {
|
||||
}
|
||||
static unsigned getHashValue(const ModuleIdentifierArrayKind &arrKind) {
|
||||
auto underlyingValue = static_cast<UnderlyingType>(arrKind);
|
||||
return UnerlyingInfo::getHashValue(underlyingValue);
|
||||
return UnderlyingInfo::getHashValue(underlyingValue);
|
||||
}
|
||||
static bool isEqual(const ModuleIdentifierArrayKind &LHS,
|
||||
const ModuleIdentifierArrayKind &RHS) {
|
||||
@@ -802,7 +802,7 @@ void Serializer::writeModuleInfo(ModuleDependencyID moduleID,
|
||||
}
|
||||
case swift::ModuleDependenciesKind::SwiftSource: {
|
||||
assert(!triple.hasValue() &&
|
||||
"Did not expecte triple for serializing MODULE_NODE");
|
||||
"Did not expect triple for serializing MODULE_NODE");
|
||||
auto swiftSourceDeps = dependencyInfo.getAsSwiftSourceModule();
|
||||
assert(swiftSourceDeps);
|
||||
unsigned bridgingHeaderFileId =
|
||||
|
||||
Reference in New Issue
Block a user