]> granicus.if.org Git - clang/commit
[OPENMP 4.5] Allow data members as loop counters in loop-based
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 1 Apr 2016 09:23:34 +0000 (09:23 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 1 Apr 2016 09:23:34 +0000 (09:23 +0000)
commitd20d89de2a9cfbf54ff2b42dbb0955599a21b792
treeb4e82908e80f9f84a4b694238ee61fb1053302c1
parent695440e304b34c3a65f3cc548af3959a5ad623f2
[OPENMP 4.5] Allow data members as loop counters in loop-based
directives.

OpenMP 4.5 allows privatization of non-static data members in non-static
member functions. Patch allows to use and implicit privatization of data
members used as counters in loop-based directives.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265121 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/for_lastprivate_codegen.cpp