To be more in line with what GCC does, switch the condition to be based
on the Static Storage duration instead of the storage class.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D53718
Change keep-static-consts to work on static storage duration, not storage class. ClosedPublic Authored by erichkeane on Oct 25 2018, 11:13 AM.
Details Summary To be more in line with what GCC does, switch the condition to be based
Diff Detail Event TimelineComment Actions
Yep, just confirmed that it does! Adding to the test and will update the review. This revision is now accepted and ready to land.Oct 25 2018, 12:14 PM
Revision Contents
Diff 171163 lib/CodeGen/CodeGenModule.cpp
test/CodeGen/keep-static-consts.cpp
|