mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -2099,7 +2099,7 @@ void SwiftLangSupport::getCursorInfo(
|
||||
} else {
|
||||
std::string Diagnostic; // Unused.
|
||||
ResolvedValueRefCursorInfoPtr Info = new ResolvedValueRefCursorInfo(
|
||||
/*SourcFile=*/nullptr, SourceLoc(),
|
||||
/*SourceFile=*/nullptr, SourceLoc(),
|
||||
const_cast<ValueDecl *>(Entity.Dcl),
|
||||
/*CtorTyRef=*/nullptr,
|
||||
/*ExtTyRef=*/nullptr, Entity.IsRef,
|
||||
@@ -2585,7 +2585,7 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
|
||||
#ifndef NDEBUG
|
||||
for (auto loc : Locs.getLocations()) {
|
||||
assert(loc.OldName == OldName &&
|
||||
"Found related identfiers with different names?");
|
||||
"Found related identifiers with different names?");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user