[all-commits] [llvm/llvm-project] 3c191a: [OPENMP]Fix PR45383: type dependent array subscrip...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Jun 4 06:35:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c191ae555cce6896f40b75ca031eadf675c5fb8
      https://github.com/llvm/llvm-project/commit/3c191ae555cce6896f40b75ca031eadf675c5fb8
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

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

  Log Message:
  -----------
  [OPENMP]Fix PR45383: type dependent array subscripts are diagnosed erroneously.

Summary:
If the array subscript expression is type depent, its analysis must be
delayed before its instantiation.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, caomhin, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list