mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #27479 from varungandhi-apple/vg-track-clang-function-types
Track Clang function types in the AST
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user