Merge pull request #41120 from eeckstein/capture-propagate-keypaths

CapturePropagation: specialize closures which capture a constant keypath
This commit is contained in:
eeckstein
2022-02-02 07:54:47 +01:00
committed by GitHub
15 changed files with 441 additions and 55 deletions

View File

@@ -78,6 +78,7 @@ class StringLiteralExpr;
class ValueDecl;
class VarDecl;
class FunctionRefBaseInst;
class SILPrintContext;
template <typename ImplClass> class SILClonerWithScopes;
@@ -3489,7 +3490,9 @@ public:
void incrementRefCounts() const;
void decrementRefCounts() const;
void print(SILPrintContext &ctxt) const;
void Profile(llvm::FoldingSetNodeID &ID);
};