[Clang][OpenMP] Allow `f16` literal suffix when compiling OpenMP target offloading...
authorShilei Tian <i@tianshilei.me>
Fri, 20 Jan 2023 03:24:23 +0000 (22:24 -0500)
committerShilei Tian <i@tianshilei.me>
Fri, 20 Jan 2023 03:24:38 +0000 (22:24 -0500)
commit9c2cfaaada66f323d10e25ac961ce1524d7b5f1f
treeed2d2b2f511665730ebcd4aeef03701bcbaa8d40
parent3006cb2aa8d9fb1cbcb15a7e4dcd321614fa7478
[Clang][OpenMP] Allow `f16` literal suffix when compiling OpenMP target offloading for NVPTX

Fix #58087.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D142075
clang/lib/Lex/LiteralSupport.cpp
clang/test/OpenMP/float16_sema.cpp [new file with mode: 0644]