mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The demangler tolerates arbitrary suffixes on mangled names, and parses them as a Suffix node. When looking up a class by an ObjC mangled name, we don't want such demanglings to succeed, because this will result in false positives. It's expected that NSClassFromString(someClassName + "some suffix") will fail, unless something has actually created a class with that suffix. rdar://problem/60012296
9.6 KiB
9.6 KiB