Firstprivate variables are the variables, for which the private copies
must be created in the OpenMP regions and must be initialized with the
original values. Thus, we must report if the uninitialized variable is
used as firstprivate.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/clang/AST/OpenMPClause.h | ||
---|---|---|
2102–2103 ↗ | (On Diff #210100) | So, basically, the first approximation is that all children are used? |
test/Analysis/cfg-openmp.cpp | ||
188 ↗ | (On Diff #209934) | Aha, yup, i see, so we need to evaluate them again because we're after their lvalues so that to capture them by reference. I guess this kinda sorts out my questions. |
include/clang/AST/OpenMPClause.h | ||
---|---|---|
2102–2103 ↗ | (On Diff #210100) | Yes, but only for some clauses. |