commit | d2649292ef268cbc4b80854659a716791ad2c0b9 | [log] [tgz] |
---|---|---|
author | Joel E. Denny <jdenny.ornl@gmail.com> | Fri Jan 04 22:11:56 2019 +0000 |
committer | Joel E. Denny <jdenny.ornl@gmail.com> | Fri Jan 04 22:11:56 2019 +0000 |
tree | 976d21d2b853b7fde0517f0cb466d41839372145 | |
parent | e6234d142911bbfa30e77386700c621f113ad9be [diff] |
[OpenMP] Refactor const restriction for reductions As discussed in D56113, this patch refactors the implementation of the const restriction for reductions to reuse a function introduced by D56113. A side effect is that diagnostics sometimes now say "variable" instead of "list item" when a list item is a variable. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D56298 llvm-svn: 350440