aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorPiJoules <6019989+PiJoules@users.noreply.github.com>2024-06-14 12:11:49 -0700
committerGitHub <noreply@github.com>2024-06-14 12:11:49 -0700
commit005758eb6b35aaf548c3a59da860ecd2465a73f0 (patch)
tree0667163b2f0035b23bb5eebee36f8c1bc54ee792 /clang/unittests/Interpreter/InterpreterTest.cpp
parent1af1c9fb98e5c99ce2aa3a9af8ede489ea85c745 (diff)
downloadllvm-005758eb6b35aaf548c3a59da860ecd2465a73f0.zip
llvm-005758eb6b35aaf548c3a59da860ecd2465a73f0.tar.gz
llvm-005758eb6b35aaf548c3a59da860ecd2465a73f0.tar.bz2
[libc][stdlib] Make the FreeListHeap constant-initializable (#95453)
This refactors some of the FreeListHeap, FreeList, and Block classes to have constexpr ctors so we can constinit a global allocator that does not require running some global function or global ctor to initialize. This is needed to prevent worrying about initialization order and any other module-ctor can invoke malloc without worry.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions