aboutsummaryrefslogtreecommitdiff
path: root/src/Zcu.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-08-17 11:38:19 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-08-17 18:50:10 -0400
commit9c3324173de2d8de80e95fb6be23eb63dfbc5169 (patch)
treeba2d5666174670795280879f64ccfabf024429be /src/Zcu.zig
parentd63d9b99185c080c6ed7a6be3dc43c897f2aeadc (diff)
downloadzig-9c3324173de2d8de80e95fb6be23eb63dfbc5169.tar.gz
zig-9c3324173de2d8de80e95fb6be23eb63dfbc5169.zip
compiler: merge conflicts and typos
Diffstat (limited to 'src/Zcu.zig')
-rw-r--r--src/Zcu.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zcu.zig b/src/Zcu.zig
index fc7978b15f..a47979bf60 100644
--- a/src/Zcu.zig
+++ b/src/Zcu.zig
@@ -2433,7 +2433,7 @@ pub fn findOutdatedToAnalyze(zcu: *Zcu) Allocator.Error!?AnalUnit {
// Any units in `potentially_outdated` must just be stuck in loops with one another: none of those
// units have had any outdated dependencies so far, and all of their remaining PO deps are triggered
// by other units in `potentially_outdated`. So, we can safety assume those units up-to-date.
- zcu.potentially_outdated.clear();
+ zcu.potentially_outdated.clearRetainingCapacity();
log.debug("findOutdatedToAnalyze: no outdated depender", .{});
return null;
}