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

Fix unintuitive formatting by clang-format #221

Open
3 tasks done
AlexRamRam opened this issue Jun 5, 2023 · 0 comments
Open
3 tasks done

Fix unintuitive formatting by clang-format #221

AlexRamRam opened this issue Jun 5, 2023 · 0 comments
Labels
enhancement/build-system Improves an aspect of the build system fix/bug Fixes errant behavior

Comments

@AlexRamRam
Copy link
Contributor

Affected Branch

programmability

Basic Diagnostics

  • I've pulled the latest changes on the affected branch and the issue is still present.

  • The issue is reproducible in docker

Description

Example of case clauses containing series of brackets:

        switch(et) {
            case event_type::remove: {
                struct kevent ev {};
                EV_SET(&ev, fd, EVFILT_READ, EV_DELETE, 0, 0, 0);
                m_evs.emplace_back(std::move(ev));
            }
                {
                    struct kevent ev {};
                    EV_SET(&ev, fd, EVFILT_WRITE, EV_DELETE, 0, 0, 0);
                    m_evs.emplace_back(std::move(ev));
                }

Code of Conduct

  • I agree to follow this project's Code of Conduct
@AlexRamRam AlexRamRam added the fix/bug Fixes errant behavior label Jun 5, 2023
@HalosGhost HalosGhost added the enhancement/build-system Improves an aspect of the build system label Sep 28, 2023
@HalosGhost HalosGhost removed their assignment Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement/build-system Improves an aspect of the build system fix/bug Fixes errant behavior
Projects
None yet
Development

No branches or pull requests

2 participants