[all-commits] [llvm/llvm-project] ecc080: [OpenMP] return empty stmt for `nothing` (#74042)
Sandeep Kosuri via All-commits
all-commits at lists.llvm.org
Sun Dec 3 00:03:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecc080c07d97f7879ce64e644cac828922a7b0d9
https://github.com/llvm/llvm-project/commit/ecc080c07d97f7879ce64e644cac828922a7b0d9
Author: Sandeep Kosuri <66305775+sandeepkosuri at users.noreply.github.com>
Date: 2023-12-03 (Sun, 03 Dec 2023)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
A clang/test/OpenMP/nothing_ast_print.cpp
A openmp/runtime/test/misc_bugs/omp_nothing.c
Log Message:
-----------
[OpenMP] return empty stmt for `nothing` (#74042)
- `nothing` directive was effecting the `if` block structure which it
should not. So return an empty statement instead of an error statement
while parsing to avoid this.
More information about the All-commits
mailing list