[all-commits] [llvm/llvm-project] 4e1556: [OPENMP][C++20]Add support for CXXRewrittenBinaryO...

cilkplus via All-commits all-commits at lists.llvm.org
Mon Jun 14 11:59:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e155608796b79d7e369f4e42980ce670bff7172
      https://github.com/llvm/llvm-project/commit/4e155608796b79d7e369f4e42980ce670bff7172
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    A clang/test/OpenMP/for_ast_print_cxx20.cpp

  Log Message:
  -----------
  [OPENMP][C++20]Add support for CXXRewrittenBinaryOperator in ranged for loops.

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.

Differential Revision: https://reviews.llvm.org/D104240




More information about the All-commits mailing list