[all-commits] [llvm/llvm-project] 8fb441: [LLVMFronted][tests] Add basic OpenMP parsing tests.

Michael Kruse via All-commits all-commits at lists.llvm.org
Tue Nov 17 13:45:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fb4417d82bc9d7285734cd63cdd06f1d6926be6
      https://github.com/llvm/llvm-project/commit/8fb4417d82bc9d7285734cd63cdd06f1d6926be6
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M llvm/unittests/Frontend/CMakeLists.txt
    A llvm/unittests/Frontend/OpenMPParsingTest.cpp

  Log Message:
  -----------
  [LLVMFronted][tests] Add basic OpenMP parsing tests.

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.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D91643




More information about the All-commits mailing list