<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/185635>185635</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] Implement F2023 TYPEOF and CLASSOF type specifiers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Ritanya-B-Bharadwaj
</td>
</tr>
</table>
<pre>
The Fortran 2023 Standard extends declaration-type-spec with two new type specifiers:
TYPEOF ( data-ref )
CLASSOF ( data-ref )
These allow declarations to indirectly use the type of a previously-defined entity. CLASSOF additionally implies polymorphism.
More details in - https://github.com/llvm/llvm-project/blob/main/flang/docs/F202X.md#typeof-and-classof
This is marked as N in https://releases.llvm.org/21.1.0/tools/flang/docs/FortranStandardsSupport.html#fortran-2023
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUkk2P2zgMhn-NfCFsyFScj4MPmZ01sMDutmjm0B5pi441lSVDkif1vy-cZKYfmEsBAQJIkO9L8qEYzdkx16J6ENVjRnMafKg_mURuofwhfxgokL7Qc9Z6vdRPA0PjQwrkACUqOCVymoIG_pbY6QiaO0uBkvEuT8vEeZy4g4tJA6SLB8cXWMOwhk1vOEShjkKu7-nLx78_NCBwD5oS5YF7EHgAIY9__Xs8nd7J3QsHjgxkrb_8rB8heTBOm8BdsgvMkSENfNP3PRBMgV-Mn6Ndcs29cayBXTJpKeBVkbQ2azOydgEzTtZwhMnbZfRhGkwcCyGP__nAoDmRsRGMgxyGlKbrZNgIbM4mDXNbdH4U2Fj78vrlU_DP3CWBTWt9K7AZyTiBTW_JnQU22ndRYNOgxM_FqAWq1bzvc3I67yzF6PvrAkwEE2Gk8JU1UIT_Vxu_mghsmSLHYlUufFj7Y1mUhRTYJO9tfEf4duvXK8fTPE0-pGJIoxWo-ls6X1HIdK30QR0o47rc7VS5qTYKs6FWu81u2-ru0Hdy227kntuua1Xb7jUfDoc2MzVK3EpVyhJRVVhUetvrvS6VLHlHVIqN5JGMfXOemRhnrst9tVVVZqllG68II94HwJXmUF-X3M7nKDbSmph-DJ8lk-yV-1tF9Qj_jJPlkV2C5sr2nUdy-o2G39DN5mDrPz711fy63bv_lxq_BwAA__-AOCmd">