mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Wire up the request-evaluator with an instance in ASTContext, and introduce two request kinds: one to retrieve the superclass of a class declaration, and one to compute the type of an entry in the inheritance clause. Teach ClassDecl::getSuperclass() to go through the request-evaluator, centralizing the logic to compute and extract the superclass type. Fixes the crasher from rdar://problem/26498438.
30 KiB
30 KiB