Clang misdiagnoses atomic captures cases that contains parens.
ie.
int v, int *p;
#pragma omp atomic capture
{ v = (*p); (*p)++; }
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D22487
[OpenMP] Ignore parens in atomic capture ClosedPublic Authored by • davidsh on Jul 18 2016, 4:24 PM.
Details Summary Clang misdiagnoses atomic captures cases that contains parens.
Diff Detail
Event Timeline• davidsh updated this object. This revision is now accepted and ready to land.Jul 18 2016, 7:53 PM Closed by commit rL276167: [OpenMP] Ignore parens in atomic capture (authored by kli). · Explain WhyJul 20 2016, 12:48 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 64732 cfe/trunk/lib/Sema/SemaOpenMP.cpp
cfe/trunk/test/OpenMP/atomic_messages.c
cfe/trunk/test/OpenMP/atomic_messages.cpp
|