Commit Graph

57 Commits

Author SHA1 Message Date
John McCall
5a735b5589 RemoteAST: type-check TypeReprs within a TopLevelCodeDecl
instead of just a ModuleDecl.

Fixes simple generic types.
2016-04-22 18:47:04 -07:00
John McCall
590706a8c6 Pass around address/buffer pairs in the MetadataReader instead of
just the address.  Use this to avoid repeatedly reading metadata so
often (even if it's cached, this is better).  Fix some bugs involving
nominal type parents.
2016-04-21 21:47:14 -07:00
John McCall
eb662ed62f Look through Type nodes in findDeclContext to allow the direct use
of a top-level type demangling.
2016-04-21 16:25:19 -07:00
John McCall
22f193d254 Use the right demangling API when demangling nominal types. 2016-04-21 15:05:34 -07:00
John McCall
17625abbb9 Invoke the type-checker from RemoteAST to build generic types. 2016-04-20 13:53:49 -07:00
John McCall
093009b3ef Enhance the Remote / RemoteAST libraries with an error mechanism.
Nothing is producing meaningful errors yet, however.
2016-04-20 11:44:34 -07:00
John McCall
e758ba3569 Stub out a RemoteAST library for translating remote metadata
pointers into a local AST.

This is intended primarily for the use of LLDB and does not have
a stable ABI.
2016-04-19 16:36:57 -07:00