Supporting printf with -fdeclare-opencl-builtins would require
special handling (for e.g. varargs and format attributes) for just
this one function. Instead, move the printf declaration to the
shared base header.
Details
Details
- Reviewers
Anastasia - Commits
- rG5a4a01460f1a: [OpenCL] Move printf declaration to opencl-c-base.h
Diff Detail
Diff Detail
clang-tidy: error: unknown type name '__constant' [clang-diagnostic-error]
not useful
clang-tidy: error: format argument not a string type [clang-diagnostic-error]
not useful
clang-format: please reformat the code