Skip to content

Commit 18b23aa

Browse files
committed
[CSClosure] NFC: Add size to a SmallVector in ClosureConstraintGenerator::visitIfStmt
1 parent b8cfaf7 commit 18b23aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSClosure.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ class ClosureConstraintGenerator
522522
if (!isSupportedMultiStatementClosure())
523523
llvm_unreachable("Unsupported statement: If");
524524

525-
SmallVector<ElementInfo> elements;
525+
SmallVector<ElementInfo, 4> elements;
526526

527527
// Condition
528528
{

0 commit comments

Comments
 (0)