https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125434

            Bug ID: 125434
           Summary: check_GNU_style.py's "braces should be on a separate
                    line" don't support simple C++ lambda
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: false-positive
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

From
https://forge.sourceware.org/gcc/gcc-TEST/actions/runs/247/jobs/0/attempt/1:

=== ERROR type #3: braces should be on a separate line (10 error(s)) ===
gcc/config/wasm/wasm-asm.cc:459:68:  text_section = get_unnamed_section
(SECTION_CODE, [](const char *){}, "T");


This should not error out since that is a simple lambda and same line is ok.

Reply via email to