-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[libc]: Remove -Wglobal-constructors for libc tests
#131485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jhuber6
merged 30 commits into
llvm:main
from
vinay-deshmukh:vinay-issue-119281-global-constructors
Apr 16, 2025
Merged
Changes from 18 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
6dd5a77
`-Wglobal-constructors`
vinay-deshmukh a142b5b
Werror to break pipeline
vinay-deshmukh 6b558fb
Use static member instances
vinay-deshmukh 168dc9d
cf
vinay-deshmukh 70ba2f9
try to isolate warning
vinay-deshmukh 9bb0c5b
constexpr ctor
vinay-deshmukh ca587e0
instance is constexpr
vinay-deshmukh 82a84bb
default constexpr for Test
vinay-deshmukh 05733f7
outside
vinay-deshmukh 928e5c1
remove virtual dtor
vinay-deshmukh 0ab2965
note: non-constexpr function addTest cannot be used in a constant exp…
vinay-deshmukh ec4be66
restore to original
vinay-deshmukh 620bf4a
pragma wrap
vinay-deshmukh e8be053
pragma wrap
vinay-deshmukh 889c3ba
undo pragma
vinay-deshmukh 94a783b
remove pragma attempt
vinay-deshmukh f20b84d
Fix cmake failure
vinay-deshmukh fbb0ca5
Use _Pragma correctly
vinay-deshmukh 009b11b
collisions
vinay-deshmukh 54b604a
warning: extra ';' outside of a function is incompatible with C++98 […
vinay-deshmukh ccf13f3
Assume it's an intentional global
vinay-deshmukh 9b0cff4
another one
vinay-deshmukh ad8f2e7
thread_local
vinay-deshmukh 53bacd0
thread_local
vinay-deshmukh 8ed51cc
Undo code fixes
vinay-deshmukh bb7b9a5
Werror no longer needed
vinay-deshmukh cc03d0e
Remove global constructors error in libc tests
vinay-deshmukh 1fc892b
Merge remote-tracking branch 'upstream/main' into vinay-issue-119281-…
vinay-deshmukh db914c2
Fix main's changes
vinay-deshmukh 74535b8
Merge branch 'main' into vinay-issue-119281-global-constructors
vinay-deshmukh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.