diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2021-02-18 11:27:19 +0000 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2021-02-18 11:27:19 +0000 |
commit | 5a4a01460f1a8f29db9aa3581097dd8bc105425c (patch) | |
tree | a0435e4e027dba24b163f4d619d2d6b9fb94b0a4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1fbb3287fcda77d69a405dea17d7d11e1d3ac152 (diff) | |
download | llvm-5a4a01460f1a8f29db9aa3581097dd8bc105425c.zip llvm-5a4a01460f1a8f29db9aa3581097dd8bc105425c.tar.gz llvm-5a4a01460f1a8f29db9aa3581097dd8bc105425c.tar.bz2 |
[OpenCL] Move printf declaration to opencl-c-base.h
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.
Differential Revision: https://reviews.llvm.org/D96789
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions