[all-commits] [llvm/llvm-project] d1c8a1: [OpenCL] Added distinct file extension for C++ for...

Anastasia Stulova via All-commits all-commits at lists.llvm.org
Wed Mar 24 06:07:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1c8a151df830c6c727f0bb7d33774bd3eb96824
      https://github.com/llvm/llvm-project/commit/d1c8a151df830c6c727f0bb7d33774bd3eb96824
  Author: Anastasia Stulova <anastasia.stulova at arm.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Driver/Types.def
    M clang/lib/Driver/Types.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Frontend/FrontendOptions.cpp
    R clang/test/CodeGenOpenCLCXX/address-space-deduction.cl
    A clang/test/CodeGenOpenCLCXX/address-space-deduction.clcpp
    R clang/test/CodeGenOpenCLCXX/address-space-deduction2.cl
    A clang/test/CodeGenOpenCLCXX/address-space-deduction2.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-conversion.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-conversion.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-derived-base.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-new-delete.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-new-delete.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-of-this.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-of-this.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-operators.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-references.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-references.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace-with-class.cl
    A clang/test/CodeGenOpenCLCXX/addrspace-with-class.clcpp
    R clang/test/CodeGenOpenCLCXX/addrspace_cast.cl
    A clang/test/CodeGenOpenCLCXX/addrspace_cast.clcpp
    R clang/test/CodeGenOpenCLCXX/atexit.cl
    A clang/test/CodeGenOpenCLCXX/atexit.clcpp
    R clang/test/CodeGenOpenCLCXX/constexpr.cl
    A clang/test/CodeGenOpenCLCXX/constexpr.clcpp
    R clang/test/CodeGenOpenCLCXX/global_init.cl
    A clang/test/CodeGenOpenCLCXX/global_init.clcpp
    R clang/test/CodeGenOpenCLCXX/local_addrspace_init.cl
    A clang/test/CodeGenOpenCLCXX/local_addrspace_init.clcpp
    R clang/test/CodeGenOpenCLCXX/method-overload-address-space.cl
    A clang/test/CodeGenOpenCLCXX/method-overload-address-space.clcpp
    R clang/test/CodeGenOpenCLCXX/template-address-spaces.cl
    A clang/test/CodeGenOpenCLCXX/template-address-spaces.clcpp
    A clang/test/Driver/cxx_for_opencl.clcpp
    M clang/test/Driver/lit.local.cfg
    R clang/test/SemaOpenCLCXX/address-space-castoperators.cl
    A clang/test/SemaOpenCLCXX/address-space-castoperators.clcpp
    R clang/test/SemaOpenCLCXX/address-space-cond.cl
    A clang/test/SemaOpenCLCXX/address-space-cond.clcpp
    R clang/test/SemaOpenCLCXX/address-space-deduction.cl
    A clang/test/SemaOpenCLCXX/address-space-deduction.clcpp
    R clang/test/SemaOpenCLCXX/address-space-lambda.cl
    A clang/test/SemaOpenCLCXX/address-space-lambda.clcpp
    R clang/test/SemaOpenCLCXX/address-space-of-this-class-scope.cl
    A clang/test/SemaOpenCLCXX/address-space-of-this-class-scope.clcpp
    R clang/test/SemaOpenCLCXX/address-space-of-this.cl
    A clang/test/SemaOpenCLCXX/address-space-of-this.clcpp
    R clang/test/SemaOpenCLCXX/address-space-references.cl
    A clang/test/SemaOpenCLCXX/address-space-references.clcpp
    R clang/test/SemaOpenCLCXX/address-space-templates.cl
    A clang/test/SemaOpenCLCXX/address-space-templates.clcpp
    R clang/test/SemaOpenCLCXX/address_space_overloading.cl
    A clang/test/SemaOpenCLCXX/address_space_overloading.clcpp
    R clang/test/SemaOpenCLCXX/addrspace-auto.cl
    A clang/test/SemaOpenCLCXX/addrspace-auto.clcpp
    R clang/test/SemaOpenCLCXX/addrspace_cast.cl
    A clang/test/SemaOpenCLCXX/addrspace_cast.clcpp
    R clang/test/SemaOpenCLCXX/addrspace_cast_ast_dump.cl
    A clang/test/SemaOpenCLCXX/addrspace_cast_ast_dump.clcpp
    R clang/test/SemaOpenCLCXX/invalid-kernel.cl
    A clang/test/SemaOpenCLCXX/invalid-kernel.clcpp
    R clang/test/SemaOpenCLCXX/members.cl
    A clang/test/SemaOpenCLCXX/members.clcpp
    R clang/test/SemaOpenCLCXX/method-overload-address-space.cl
    A clang/test/SemaOpenCLCXX/method-overload-address-space.clcpp
    R clang/test/SemaOpenCLCXX/newdelete.cl
    A clang/test/SemaOpenCLCXX/newdelete.clcpp
    R clang/test/SemaOpenCLCXX/references.cl
    A clang/test/SemaOpenCLCXX/references.clcpp
    R clang/test/SemaOpenCLCXX/restricted.cl
    A clang/test/SemaOpenCLCXX/restricted.clcpp
    M clang/test/lit.cfg.py

  Log Message:
  -----------
  [OpenCL] Added distinct file extension for C++ for OpenCL.

Files compiled with C++ for OpenCL mode can now have a distinct
file extension - clcpp, then clang driver picks the compilation
mode automatically (-x clcpp) without the use of -cl-std=clc++.

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




More information about the All-commits mailing list