Merge pull request #27479 from varungandhi-apple/vg-track-clang-function-types

Track Clang function types in the AST
This commit is contained in:
Varun Gandhi
2019-12-04 08:47:35 -08:00
committed by GitHub
30 changed files with 1419 additions and 245 deletions

View File

@@ -3959,6 +3959,8 @@ public:
void visitFunctionType(const FunctionType *fnTy) {
using namespace decls_block;
// FIXME: [clang-function-type-serialization] Serialize the clang type here
unsigned abbrCode = S.DeclTypeAbbrCodes[FunctionTypeLayout::Code];
FunctionTypeLayout::emitRecord(S.Out, S.ScratchRecord, abbrCode,
S.addTypeRef(fnTy->getResult()),