[all-commits] [llvm/llvm-project] 0aed36: [OpenCL] Support -fdeclare-opencl-builtins in C++ ...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Fri Nov 1 06:57:22 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0aed36d261d38c8dbc98bc52be26189e0ce57e30
      https://github.com/llvm/llvm-project/commit/0aed36d261d38c8dbc98bc52be26189e0ce57e30
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl

  Log Message:
  -----------
  [OpenCL] Support -fdeclare-opencl-builtins in C++ mode

Support for C++ mode was accidentally lacking due to not checking the
OpenCLCPlusPlus LangOpts version.

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




More information about the All-commits mailing list