[clang] [Clang] Avoid assertion failure for initialized extern aliases (PR #223124)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 06:17:23 PDT 2026
================
@@ -594,6 +590,11 @@ features cannot lower the translation-unit ABI level;
written after the declarator-id, where it appertains to the declared entity
rather than to a declarator chunk. (#GH196982, #GH111463)
+- Fixed an assertion failure when the `alias` attribute was applied to an
+ `extern` variable with an initializer. Static data members declared with
+ `alias` are now correctly diagnosed as definitions when followed by an
+ out-of-line definition.
----------------
AaronBallman wrote:
```suggestion
out-of-line definition. (#GH204762)
```
This will automatically link to the issue being resolved.
https://github.com/llvm/llvm-project/pull/223124
More information about the cfe-commits
mailing list