[PATCH] D91643: [LLVMFronted][tests] Add basic OpenMP parsing tests.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 09:36:45 PST 2020


Meinersbur created this revision.
Meinersbur added reviewers: mehdi_amini, clementval, jdoerfert.
Meinersbur added a project: OpenMP.
Herald added subscribers: guansong, yaxunl, mgorny.
Herald added a project: LLVM.
Meinersbur requested review of this revision.
Herald added a subscriber: sstefan1.

As noticed in D91470 <https://reviews.llvm.org/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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91643

Files:
  llvm/unittests/Frontend/CMakeLists.txt
  llvm/unittests/Frontend/OpenMPParsingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91643.305831.patch
Type: text/x-patch
Size: 3770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201117/42ea6160/attachment.bin>


More information about the llvm-commits mailing list