]> git.ipfire.org Git - thirdparty/gcc.git/commit
Merge #1734
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 11 Jan 2023 16:45:18 +0000 (16:45 +0000)
committerGitHub <noreply@github.com>
Wed, 11 Jan 2023 16:45:18 +0000 (16:45 +0000)
commit0030bead12ee37e820e97939b29d9088b9f884e8
tree34ffd4f5282a88e14fa7964f41a0d250793c9ad4
parent59cbecb75d3fd270094c2008343bf86f0c3bf80d
parent84009909526bec9f6a07b94b4df187f57b692b9c
Merge #1734

1734: Add get_locus function for abstract class MetaItemInner. r=CohenArthur a=TuringKi

This commit adds virtual function get_locus to base class MetaItemInner, which is helpful when we need to print  diagnostics on some sub-classes of MetaItemInner.

This commit is split from pr https://github.com/Rust-GCC/gccrs/pull/1718.

Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Co-authored-by: mxlol233 <mxlol233@outlook.com>