summaryrefslogtreecommitdiffstats
path: root/Tests/Architecture/bar.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-24 13:21:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-24 21:29:15 (GMT)
commit22aa6b67b41808bb9c27aeb0f8f662cd81466843 (patch)
treeb4420c8dad89f0c924b3f0abf6b5da116591e7d0 /Tests/Architecture/bar.c
parent1fe0d72eb6aef12148be0b37d73cf31fbd5f9ca0 (diff)
downloadCMake-22aa6b67b41808bb9c27aeb0f8f662cd81466843.zip
CMake-22aa6b67b41808bb9c27aeb0f8f662cd81466843.tar.gz
CMake-22aa6b67b41808bb9c27aeb0f8f662cd81466843.tar.bz2
cmListFileCache: Refactor cmListFileBacktrace internals
Replace use of raw pointers and explicit reference counting with `std::shared_ptr<>`. Use a discriminated union to store either the bottom level or a call/file context in each heap-allocated entry. This avoids storing a copy of the bottom in every `cmListFileBacktrace` instance and shrinks the structure to a single `shared_ptr`.
Diffstat (limited to 'Tests/Architecture/bar.c')
0 files changed, 0 insertions, 0 deletions