mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Thread DeclNameRef through most of the compiler
This huge commit contains as many of the mechanical changes as possible.
This commit is contained in:
@@ -110,7 +110,7 @@ deriveBodyRawRepresentable_raw(AbstractFunctionDecl *toRawDecl, void *) {
|
||||
for (auto elt : enumDecl->getAllElements()) {
|
||||
auto pat = new (C) EnumElementPattern(TypeLoc::withoutLoc(enumType),
|
||||
SourceLoc(), DeclNameLoc(),
|
||||
DeclName(), elt, nullptr);
|
||||
DeclNameRef(), elt, nullptr);
|
||||
pat->setImplicit();
|
||||
|
||||
auto labelItem = CaseLabelItem(pat);
|
||||
|
||||
Reference in New Issue
Block a user