SuccessChanges

Summary

  1. [flang][openacc] Fix wait-argument for wait clause + add tests (details)
  2. [clang][Driver] Implement AddClangSystemIncludeArgs and HasNativeLLVMSupport for the OpenBSD clang driver. (details)
Commit 86bbf8e6fc2bf6396c1efae556bacda054f90b33 by clementval
[flang][openacc] Fix wait-argument for wait clause + add tests

This patch fix the usage of the wait-argument in a clause and add several tests and fix the unparsing of
the wait-argument.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D86325
The file was modifiedflang/lib/Parser/openacc-parsers.cpp
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/test/Semantics/acc-clause-validity.f90
Commit 2b37174b9a5db235e493cb72e4454cc08a1b1791 by brad
[clang][Driver] Implement AddClangSystemIncludeArgs and HasNativeLLVMSupport for the OpenBSD clang driver.

If not overridden, AddClangSystemIncludeArgs's implementation is empty, so by
default, no system include args are added to the Clang driver. This means that
invoking Clang without the frontend must include a manual -I/usr/include flag,
which is inconsistent behavior. Therefore, override and implement this method
to match. Some boilerplate is also borrowed for handling of the other driver
flags.

While we are here, also override and enable HasNativeLLVMSupport.

Patch by: 3405691582 (dana koch)

Differential Revision: https://reviews.llvm.org/D86412
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.h
The file was modifiedclang/lib/Frontend/InitHeaderSearch.cpp
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.cpp