This is an archive of the discontinued LLVM Phabricator instance.

[LLVMFronted][tests] Add basic OpenMP parsing tests.
ClosedPublic

Authored by Meinersbur on Nov 17 2020, 9:36 AM.

Details

Summary

As noticed in D91470, some of the functions of LLVMFrontend, are not tested within the library itself (but indirectly by its users clang and flang). In particular, the file OMP.cpp which is generated by tablegen was not tested at all.

Add tests for the parsing helpers in OMP.cpp. These are not meant to be exhaustive tests, just to ensure that we have some basic tests for all API functions.

Diff Detail