Skip to content

Commit 77d0919

Browse files
authored
Merge pull request #32365 from gregomni/solution-node-map
[Sema] Solution nodeTypes from MapVector to DenseMap.
2 parents 26f7823 + 1484360 commit 77d0919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/ConstraintSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ class Solution {
10161016
llvm::SmallPtrSet<ConstraintLocator *, 2> DefaultedConstraints;
10171017

10181018
/// The node -> type mappings introduced by this solution.
1019-
llvm::MapVector<ASTNode, Type> nodeTypes;
1019+
llvm::DenseMap<ASTNode, Type> nodeTypes;
10201020

10211021
/// Contextual types introduced by this solution.
10221022
std::vector<std::pair<ASTNode, ContextualTypeInfo>> contextualTypes;

0 commit comments

Comments
 (0)