diff options
| author | Marco Elver <elver@google.com> | 2025-10-23 11:22:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-23 11:22:13 +0200 |
| commit | 0fddaf058ac0c2627553b65ed7d057719d31aa7c (patch) | |
| tree | d8f471d4b3dabbaf44ee11347d1786a7aeb18226 /llvm/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp | |
| parent | ae6cb98b29a6e1bf8acfa0ae230493c0d16a6bbf (diff) | |
| download | llvm-0fddaf058ac0c2627553b65ed7d057719d31aa7c.zip llvm-0fddaf058ac0c2627553b65ed7d057719d31aa7c.tar.gz llvm-0fddaf058ac0c2627553b65ed7d057719d31aa7c.tar.bz2 | |
[Clang] Refactor allocation type inference logic (#163636)
Refactor the logic for inferring allocated types out of `CodeGen` and
into a new reusable component in `clang/AST/InferAlloc.h`.
This is a preparatory step for implementing `__builtin_infer_alloc_token`.
By moving the type inference heuristics into a common place, it can be
shared between the existing allocation-call instrumentation and the new
builtin's implementation.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions
