[clang] [clang] Preserve `externs` following broken declarations (PR #161641)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 19:31:09 PDT 2025


Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/161641 at github.com>


erichkeane wrote:

> summary explicitly mentions that previously things went missing from the AST, should we not have a test that verifies that this does not happen anymore? CC @erichkeane

AST Dump tests are the easiest way, you don't need a valid TU to do so, but can do the ast-dump whenever.  I'd love to see that sort of test added here.

https://github.com/llvm/llvm-project/pull/161641


More information about the cfe-commits mailing list