This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP][C++20]Add support for CXXRewrittenBinaryOperator in ranged for loops.
ClosedPublic

Authored by ABataev on Jun 14 2021, 10:04 AM.

Details

Summary

Added support for CXXRewrittenBinaryOperator as a condition in ranged
for loops. This is a new kind of expression, need to extend support for

C++20 constructs.

It fixes PR49970: range-based for compilation fails for libstdc++ vector
with -std=c++20.

Diff Detail

Event Timeline

ABataev created this revision.Jun 14 2021, 10:04 AM
ABataev requested review of this revision.Jun 14 2021, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2021, 10:04 AM
Herald added a subscriber: sstefan1. · View Herald Transcript
jdoerfert accepted this revision.Jun 14 2021, 11:06 AM

LG, thanks

This revision is now accepted and ready to land.Jun 14 2021, 11:06 AM
This revision was landed with ongoing or failed builds.Jun 14 2021, 11:59 AM
This revision was automatically updated to reflect the committed changes.