[all-commits] [llvm/llvm-project] 6f7702: [OpenCL] Restrict pointer to member functions.

Anastasia Stulova via All-commits all-commits at lists.llvm.org
Tue Jan 5 05:37:41 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f770292a000039f265c985623b1550aa50566b0
      https://github.com/llvm/llvm-project/commit/6f770292a000039f265c985623b1550aa50566b0
  Author: Anastasia Stulova <anastasia.stulova at arm.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/SemaOpenCLCXX/members.cl

  Log Message:
  -----------
  [OpenCL] Restrict pointer to member functions.

Pointers to member functions are a special case
of function pointers and therefore have to be
disallowed.

Tags: #clang

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




More information about the All-commits mailing list