[PATCH] D104240: [OPENMP][C++20]Add support for CXXRewrittenBinaryOperator in ranged for loops.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 14 10:04:15 PDT 2021
ABataev created this revision.
ABataev added reviewers: jdoerfert, mikerice.
Herald added subscribers: guansong, yaxunl.
ABataev requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: clang.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104240
Files:
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/for_ast_print_cxx20.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104240.351909.patch
Type: text/x-patch
Size: 5881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210614/9403a78b/attachment.bin>
More information about the cfe-commits
mailing list