summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-24 09:21:29 -0400
committerBrad King <brad.king@kitware.com>2018-09-24 17:29:15 -0400
commit22aa6b67b41808bb9c27aeb0f8f662cd81466843 (patch)
treeb4420c8dad89f0c924b3f0abf6b5da116591e7d0 /.clang-tidy
parent1fe0d72eb6aef12148be0b37d73cf31fbd5f9ca0 (diff)
downloadcmake-22aa6b67b41808bb9c27aeb0f8f662cd81466843.tar.gz
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 '.clang-tidy')
0 files changed, 0 insertions, 0 deletions