Skip to content
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

[libc] fix more -Wmissing-brace #77382

Merged
merged 1 commit into from Jan 8, 2024

Commits on Jan 8, 2024

  1. [libc] fix more -Wmissing-brace

    Similar to llvm#77345, the buildbots are observing similar warnings for the sse2
    implementation.
    
        llvm-project/libc/src/__support/HashTable/sse2/bitmask_impl.inc:36:13:
        error: suggest braces around initialization of subobject
        [-Werror,-Wmissing-braces]
        return {bitmask};
                ^~~~~~~
                {      }
        llvm-project/libc/src/__support/HashTable/sse2/bitmask_impl.inc:45:13:
        error: suggest braces around initialization of subobject
        [-Werror,-Wmissing-braces]
        return {static_cast<uint16_t>(~mask_available().word)};
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                {                                            }
    
    Link: https://lab.llvm.org/buildbot/#/builders/163/builds/49350/steps/8/logs/stdio
    Link: llvm#74506
    nickdesaulniers committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    8b96859 View commit details
    Browse the repository at this point in the history