[all-commits] [llvm/llvm-project] 85ea1a: [OpenACC] Fix device_type clause appertainment

Erich Keane via All-commits all-commits at lists.llvm.org
Fri May 31 08:44:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85ea1aaf15b3721aaea35280ffdedad36128bf6b
      https://github.com/llvm/llvm-project/commit/85ea1aaf15b3721aaea35280ffdedad36128bf6b
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/test/SemaOpenACC/compute-construct-device_type-clause.c

  Log Message:
  -----------
  [OpenACC] Fix device_type clause appertainment

Seemingly I forgot to implement the appertainment checks when doing the
original device_type implementation, so we fell through to the 'not
implemented' section of the diagnostics.

This patch corrects the appertainment, so that we disallow it correctly.



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