mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user