In 'cond-update-stmt', else statement is not expected. This patch adds
the check in Sema.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D120225
[Clang][Sema] Check unexpected else statement in cond-update-stmt ClosedPublic Authored by tianshilei1992 on Feb 20 2022, 6:28 PM.
Details Summary In 'cond-update-stmt', else statement is not expected. This patch adds
Diff Detail
Event Timelinetianshilei1992 created this revision. This revision is now accepted and ready to land.Feb 21 2022, 5:10 AM This revision was landed with ongoing or failed builds.Feb 21 2022, 5:20 AM Closed by commit rG6da60647cda2: [Clang][Sema] Check unexpected else statement in cond-update-stmt (authored by tianshilei1992). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 410283 clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/atomic_messages.c
|