]> granicus.if.org Git - clang/commit
[OPENMP 4.0] Fixed support of array sections/array subscripts.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 4 Feb 2016 11:27:03 +0000 (11:27 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 4 Feb 2016 11:27:03 +0000 (11:27 +0000)
commitb2a8688e4015ad2ea7a51e8d6ed510bb292ef471
treeb29b616c31fa3825d0bb5ddcb4bf8d1d9f3e2981
parentda6e53c2620d92ec6ff16c23af69c4e531d23417
[OPENMP 4.0] Fixed support of array sections/array subscripts.
Codegen for array sections/array subscripts worked only for expressions with arrays as base. Patch fixes codegen for bases with pointer/reference types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259776 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprOpenMP.h
lib/AST/Expr.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/for_reduction_codegen.cpp
test/OpenMP/task_codegen.cpp