HomePhabricator

[OpenCL] Add clang extension for variadic functions.

Authored by Anastasia on Jan 6 2021, 11:30 AM.

Description

[OpenCL] Add clang extension for variadic functions.

With the internal clang extension '__cl_clang_variadic_functions'
variadic functions are accepted by the frontend.

This is not a fully supported vendor/Khronos extension
as it can only be used on targets with variadic prototype
support or in metaprogramming to represent functions with
generic prototype without calling such functions in the
kernel code.

Tags: #clang

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

Details

Committed
AnastasiaJan 6 2021, 12:39 PM
Differential Revision
D94027: [OpenCL] Add clang extension for variadic functions
Parents
rG4fde2b6a0c08: [OpenCL] Add clang extension for function pointers.
Branches
Unknown
Tags
Unknown