diff options
author | Jakub Dupak <dev@jakubdupak.com> | 2024-01-10 13:12:48 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-07 12:40:21 +0100 |
commit | c49e45d7e849c016bd9513447ff7341a9bcb1a05 (patch) | |
tree | 9213c4e184463d0ff6719b5dc8a1fb09739f7c64 /gcc/gcc.cc | |
parent | 5eb4e5093aaf6964370b7daa231b926ca592eeb0 (diff) | |
download | gcc-c49e45d7e849c016bd9513447ff7341a9bcb1a05.zip gcc-c49e45d7e849c016bd9513447ff7341a9bcb1a05.tar.gz gcc-c49e45d7e849c016bd9513447ff7341a9bcb1a05.tar.bz2 |
gccrs: Typecheck: lifetime interning and resolution tool
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check.h (class Lifetime): add interned lifetime class
* typecheck/rust-typecheck-context.cc (TypeCheckContext::TypeCheckContext): add
resolution tool
(TypeCheckContext::intern_lifetime): add method to intern lifetime from tyctx
(TypeCheckContext::lookup_lifetime): add method to lookup lifetime from tyctx
(TypeCheckContext::intern_and_insert_lifetime): add a helper method
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions