[Compile Time Constant Extraction] Deprecated extraction of property mangled

names. It can often be more complex than the code can currently handle (e.g.
properties whose types include archetypes), and we
do not have a good motivating use-case to extract them.

Resolves rdar://113039215
This commit is contained in:
Artem Chikin
2023-08-01 13:58:51 -07:00
parent 6430cede12
commit 0ea41efded
9 changed files with 53 additions and 53 deletions

View File

@@ -881,7 +881,7 @@ void writeProperties(llvm::json::OStream &JSON,
const auto *decl = PropertyInfo.VarDecl;
JSON.attribute("label", decl->getName().str().str());
JSON.attribute("type", toFullyQualifiedTypeNameString(decl->getType()));
JSON.attribute("mangledTypeName", toMangledTypeNameString(decl->getType()));
JSON.attribute("mangledTypeName", "n/a - deprecated");
JSON.attribute("isStatic", decl->isStatic() ? "true" : "false");
JSON.attribute("isComputed", !decl->hasStorage() ? "true" : "false");
writeLocationInformation(JSON, decl->getLoc(),