[all-commits] [llvm/llvm-project] a0839c: [OPENMP]Fix PR51327: Range based for loop not work...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Dec 2 13:34:38 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0839c13fd321bb852870ffab916ad90f691161b
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

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

  Log Message:
  [OPENMP]Fix PR51327: Range based for loop not working if range's type is a template.

Need to postpone anlysis of the ranged for loops till the actual
instantiation to avoid erroneous emission of error messages.

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

More information about the All-commits mailing list