diff options
| author | Egas Ribeiro <egas.g.ribeiro@tecnico.ulisboa.pt> | 2025-12-08 18:04:42 +0000 |
|---|---|---|
| committer | Patrick Palka <ppalka@redhat.com> | 2025-12-08 14:28:21 -0500 |
| commit | 24efdb0974e19f9c31731dc0d8bdf52044705b50 (patch) | |
| tree | 455f4861141065f2e95bf886bc44017b38ffa0da /libjava/classpath/java | |
| parent | 03562c1e023d01cacf099a40842e617d27148c74 (diff) | |
| download | gcc-24efdb0974e19f9c31731dc0d8bdf52044705b50.zip gcc-24efdb0974e19f9c31731dc0d8bdf52044705b50.tar.gz gcc-24efdb0974e19f9c31731dc0d8bdf52044705b50.tar.bz2 | |
c++: Document why TARGET_EXPR is not handled in tsubst_expr
TARGET_EXPR represents semantic temporary objects and is deliberately
not handled by tsubst routines, which expect syntactic templated trees.
Add a comment and gcc_unreachable to make this explicit.
gcc/cp/ChangeLog:
* pt.cc (tsubst_expr): Add TARGET_EXPR case with explanatory
comment and gcc_unreachable.
Signed-off-by: Egas Ribeiro <egas.g.ribeiro@tecnico.ulisboa.pt>
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions
