File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ class Classification {
668
668
class ApplyClassifier {
669
669
// / The key to this cache is the function decl or closure being analyzed. The
670
670
// / value in this cache is nil when the body has an error detected in it.
671
- llvm::DenseMap<void * , Optional<ThrowingKind>> Cache;
671
+ llvm::DenseMap<AnyFunctionRef , Optional<ThrowingKind>> Cache;
672
672
673
673
public:
674
674
DeclContext *RethrowsDC = nullptr ;
@@ -953,7 +953,7 @@ class ApplyClassifier {
953
953
};
954
954
955
955
Optional<ThrowingKind>
956
- classifyThrowingFunctionBodyImpl (void * key, BraceStmt *body,
956
+ classifyThrowingFunctionBodyImpl (AnyFunctionRef key, BraceStmt *body,
957
957
bool allowNone) {
958
958
// Look for the key in the cache.
959
959
auto existingIter = Cache.find (key);
You can’t perform that action at this time.
0 commit comments