mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
...rather than the ad hoc CustomTypeNameManglingAttr I was using before. As John pointed out, the AST should be semantic wherever possible. We may someday want to get out of this being an attribute altogether, or duplicating information that's available in the original Clang node, by actually storing a reference to that node somewhere. This is tricky and mixed up with deciding what hasClangNode() or getClangDecl() would mean, though, so for now the attribute just carries the information we need.