https://bugs.llvm.org/show_bug.cgi?id=40563

            Bug ID: 40563
           Summary: AST: OpenMP 'for' Worksharing-Loop Construct is
                    undermodelled
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

The whole `ForStmt` is encompassed into an CapturedDecl.
But as per the spec, only the body has to be a Structured block.
In other words, i believe this does not violate the standard:
https://godbolt.org/z/wkTqQH

While this would:
https://godbolt.org/z/rmicZi

There needs to be some way to represent the fact that
only the body is nothrow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to