lix/src/libexpr
eldritch horrors ad5366c2ad libexpr: pass Exprs as references, not pointers
almost all places where Exprs are passed as pointers expect the pointers
to be non-null. pass them as references to encode this constraint in the
type system as well (and also communicate that Exprs must not be freed).

Change-Id: Ia98f166fec3c23151f906e13acb4a0954a5980a2
2024-06-17 19:46:44 +00:00
..
flake util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
primops chore: rebrand Nix to Lix when it makes sense 2024-06-01 20:31:24 +02:00
value util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
attr-path.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
attr-path.hh Merge remote-tracking branch 'upstream/master' into source-path 2023-04-17 11:41:50 +02:00
attr-set.cc Don't pass Symbol by reference 2022-04-26 13:25:17 +02:00
attr-set.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-cache.cc util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
eval-cache.hh always re-eval cached failures 2024-04-06 04:35:25 +00:00
eval-error.cc always re-eval cached failures 2024-04-06 04:35:25 +00:00
eval-error.hh Add a clearer error message for InvalidPathError during evaluation 2024-06-16 03:53:00 +00:00
eval-inline.hh libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
eval-settings.cc util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
eval-settings.hh Merge "docs: expand importNative/exec example (#10803)" into main 2024-06-16 04:04:20 +00:00
eval.cc libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
eval.hh libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
fetchurl.nix Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
function-trace.cc
function-trace.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
gc-small-vector.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
get-drvs.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
get-drvs.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
imported-drv-to-derivation.nix Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
json-to-value.cc libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
json-to-value.hh libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
lexer.l libexpr: don't immediately throw parser errors 2024-06-17 19:46:44 +00:00
lix-expr.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
meson.build build: expose option to enable or disable precompiled std headers 2024-06-06 12:46:26 -06:00
nixexpr.cc libexpr: store ExprConcatStrings elements as direct vector 2024-06-17 19:46:44 +00:00
nixexpr.hh libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
parser-state.hh libexpr: store ExprConcatStrings elements as direct vector 2024-06-17 19:46:44 +00:00
parser.y libexpr: store ExprConcatStrings elements as direct vector 2024-06-17 19:46:44 +00:00
paths.cc Merge pull request #9172 from tfc/bad-moves 2024-03-04 04:41:52 +01:00
pos-idx.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
pos-table.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
primops.cc libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
primops.hh use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
print-ambiguous.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
print-ambiguous.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
print-options.hh Print top-level errors normally in nix repl 2024-04-09 08:34:40 -07:00
print.cc Remove 100s of CPU time (10%) from build times (1465s -> 1302s) 2024-05-29 22:16:15 -07:00
print.hh Move escapeString to its own file 2024-03-29 16:26:29 -07:00
repl-exit-status.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
search-path.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
search-path.hh Clean up SearchPath 2023-07-09 23:22:22 -04:00
symbol-table.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
value-to-json.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
value-to-json.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value-to-xml.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
value-to-xml.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value.hh libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00