[all-commits] [llvm/llvm-project] 5bbf39: [OpenCL] Add diagnostics for references to functions

Anastasia Stulova via All-commits all-commits at lists.llvm.org
Tue Feb 2 07:08:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bbf39704c2b70581d78a463f3c9d20b0eb7dcd5
      https://github.com/llvm/llvm-project/commit/5bbf39704c2b70581d78a463f3c9d20b0eb7dcd5
  Author: Anastasia Stulova <anastasia.stulova at arm.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/SemaOpenCLCXX/members.cl
    A clang/test/SemaOpenCLCXX/references.cl

  Log Message:
  -----------
  [OpenCL] Add diagnostics for references to functions

Restrict use of references to functions as they can
result in non-conforming behavior.

Tags: #clang

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




More information about the All-commits mailing list