[all-commits] [llvm/llvm-project] 2a4966: [clang][OpenMP] Improve handling of non-C/C++ dire...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed May 14 13:32:10 PDT 2025


  Branch: refs/heads/users/kparzysz/spr/n03-clang-unknown
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a4966f7b5aecb1f39aaafca06e043f53e8912f0
      https://github.com/llvm/llvm-project/commit/2a4966f7b5aecb1f39aaafca06e043f53e8912f0
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M clang/lib/Parse/ParseOpenMP.cpp
    A clang/test/OpenMP/openmp_non_c_directives.c
    R clang/test/OpenMP/openmp_workshare.c

  Log Message:
  -----------
  [clang][OpenMP] Improve handling of non-C/C++ directives

The PR139793 added handling of the Fortran-only "workshare" directive,
however there are more such directives, e.g. "allocators". Use the
genDirectiveLanguages function to detect non-C/C++ directives instead
of enumerating them.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list