[all-commits] [llvm/llvm-project] a5b627: [OpenCL] Introduce new language options for OpenCL...

Anton Zabaznov via All-commits all-commits at lists.llvm.org
Fri Feb 5 00:19:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b627aa4fe749f8df0a27fcb1f6fe3b59a21e09
      https://github.com/llvm/llvm-project/commit/a5b627aa4fe749f8df0a27fcb1f6fe3b59a21e09
  Author: Anton Zabaznov <anton.zabaznov at intel.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.def
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaType.cpp

  Log Message:
  -----------
  [OpenCL] Introduce new language options for OpenCL keywords.

OpenCL keywords 'pipe' and 'generic' are unconditionally
supported for OpenCL C 2.0 or in OpenCL C++ mode. In OpenCL C 3.0
these keywords are available if corresponding optional core
feature is supported.

Reviewed By: Anastasia, svenvh

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




More information about the All-commits mailing list