[all-commits] [llvm/llvm-project] a01637: [OpenCL] Do not enforce ASTContext for OCL2Qual

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Mon Feb 8 02:57:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a016374d079b0d8f37af052ced13f9850f1049fa
      https://github.com/llvm/llvm-project/commit/a016374d079b0d8f37af052ced13f9850f1049fa
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M clang/lib/Sema/OpenCLBuiltins.td
    M clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp

  Log Message:
  -----------
  [OpenCL] Do not enforce ASTContext for OCL2Qual

Do not enforce that the expression to obtain the QualType for an
OpenCL type starts with an ASTContext.  This adds the required
flexibility for handling the remaining missing argument types such as
enums.

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




More information about the All-commits mailing list