Skip to content

[Clang][OpenMP] Dubious temporary expression constructing OMPLoopScope #130844

Open
@chenm16

Description

@chenm16

In

if (IsOffloadEntry) {
OMPLoopScope(CGF, D);
// Emit calculation of the iterations count.

The OMPLoopScope temporary is destroyed at the end of the expression. Is it meant to be a variable definition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:codegenIR generation bugs: mangling, exceptions, etc.clang:openmpOpenMP related changes to Clangcode-quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions