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

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu May 15 05:38:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9273091502994f9b68ca0d1fd04fadd02c0a36df
      https://github.com/llvm/llvm-project/commit/9273091502994f9b68ca0d1fd04fadd02c0a36df
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-15 (Thu, 15 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 (#139961)

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