[clang] [Clang] Avoid assertion failure for initialized extern aliases (PR #223124)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 3 02:16:25 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.
----------------
keepyixiao wrote:
Thanks for the suggestion! I've updated this accordingly as well.
https://github.com/llvm/llvm-project/pull/223124
More information about the cfe-commits
mailing list