[PATCH] D126324: [clang] Allow const variables with weak attribute to be overridden

Anders Waldenborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 27 16:35:00 PDT 2022


wanders updated this revision to Diff 432669.
wanders added a comment.

Diff updated with release note + updated text in documentation as per jyknight's suggestion.

Tests for existing behavior added in separate patch: https://reviews.llvm.org/D126578


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126324/new/

https://reviews.llvm.org/D126324

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/test/CodeGen/global-init.c
  clang/test/CodeGen/weak_constant.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126324.432669.patch
Type: text/x-patch
Size: 6129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220527/70730578/attachment.bin>


More information about the cfe-commits mailing list