<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59340>59340</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] how to get ast using f18
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
PressFforlove
</td>
</tr>
</table>
<pre>
hello there, i'm new to llvm and f18, i have installed f18 and it can generate IR by -llvm-emit option(which means it can generate ast either).
But unlike clang, it can't use -ast-dump to translate code to ast.
I also tried -q , -qq, -Hq, -Mq options, which are unknow argument.
By the way, i have found a article about flang names
"How The Flang Frontend Works",
(https://llvm-hpc4-workshop.github.io/slides/Osmialowski.pdf)
and i wonder whether f18 still has flang1 and flang2?
Thank you very much for answering this question!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkk0Gv6yYQhX8N3owS2dhO4oUX774r671F1aq6UtcExoYGQ8JArPz7CpKord4KG-aMP87xCCKzOMSR9R-s_6xEitqH8Y-ARNPsg_V3rM5ePUaN1nqIGgMy_h0M48cVHG4QPVh7X0E4BXNzKoegxR3BOIrCWiz75dxEkMLBgg6DiAg__4TzA3ZZv8PVRPDXaLxj_LRpIzWsKBz9ohIUAU1GYXzYs_qT1d8-UoTkrLkgSCvcUjCKjvFjhEQIO0Fxp9J6zcgxCEc2d5NeYd4RFF-9foKwlEsMKtjdIPfa3W5l-fFcfru9UCm_PmFFQEju4vwGIixpRfdu-PHIxsEmHv9xZ_bJKRAgQjTSIoizTxHmDA9OrEjwFDPOf_gNvjTCVA6n4F1Ep-AvHy7EOGf8-7v0pGO8Emu_MT4xPhVj9VV2uy3Xan_dLybqdN4bz_hE1igkxqffaTXC-o0uZn9VM-PD6-MlNNi8Uxhg05hNL2lSNNaCFvQkbp7x50fO2uml_tLCXeDhE9wxPGBNUsPsAwhHGwbjFojaENwS0jP2plJjq4Z2EBWOzeFY867tD4dKj6emVVKquT1KeT62ba2UbJtDP5yk6Oq5rczIa84bXvcNb3nX7-XcHE7H-tgP2HRDi6yrcRXG7rMpex-WyhAlHPuh7erKijNaeo9BGItz57QQ62prKNK_smiiLQNTrsv6T9C-jMGCsfybifLV5uZUpWDH_yfysl_69RXPO6Vr8H-jjIxPBSunUsj-CQAA__8XXS_P">