[all-commits] [llvm/llvm-project] 2bbc9b: [OpenCL] Support template parameters for as_type

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Mon Mar 22 04:59:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bbc9bccf095b92b3ed1ab9669fab8a7dc96ee6d
      https://github.com/llvm/llvm-project/commit/2bbc9bccf095b92b3ed1ab9669fab8a7dc96ee6d
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/TreeTransform.h
    A clang/test/SemaOpenCLCXX/template-astype.cl

  Log Message:
  -----------
  [OpenCL] Support template parameters for as_type

Implement the TreeTransform for AsTypeExpr.  Split `BuildAsTypeExpr`
out of `ActOnAsTypeExpr`, such that we can call the Build method from
the TreeTransform.

Fixes PR47979.

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




More information about the All-commits mailing list