aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang.cpp
diff options
context:
space:
mode:
authorJesse Rudolph <jesse.rudolph@gmail.com>2020-07-07 14:19:34 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-10-17 22:35:36 -0400
commite821a57683e5cc69655e8aa2c2fa38b834b31c26 (patch)
tree597490d87885918ed8e44034a7777075ddc2cd19 /src/zig_clang.cpp
parentb0684bf084dbb5fe9ad7fb75dacf24cbd0a17231 (diff)
downloadzig-e821a57683e5cc69655e8aa2c2fa38b834b31c26.tar.gz
zig-e821a57683e5cc69655e8aa2c2fa38b834b31c26.zip
add Builder.dupePkg()
mimics the duplication of strings in `Builder` for `Pkg`. This ensures the lifetime of the memory backing strings in a `Pkg` struct and the `Pkg.dependencies` slice is not shorter than the `Builder` that the data is associated with.
Diffstat (limited to 'src/zig_clang.cpp')
0 files changed, 0 insertions, 0 deletions