[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:
Brent Royal-Gordon
2019-12-10 19:46:10 -08:00
parent da88512eda
commit addbe3e5ed
66 changed files with 505 additions and 464 deletions

View File

@@ -4124,8 +4124,9 @@ llvm::Error DeclDeserializer::deserializeDeclAttributes() {
assert(numArgs != 0);
assert(!isImplicit && "Need to update for implicit");
Attr = DynamicReplacementAttr::create(
ctx, DeclName(ctx, baseName, ArrayRef<Identifier>(pieces)), &MF,
replacedFunID);
ctx,
DeclNameRef_(DeclName(ctx, baseName, ArrayRef<Identifier>(pieces))),
&MF, replacedFunID);
break;
}