diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-09-08 09:42:32 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-09-08 09:42:32 +0000 |
commit | ab36f33db8ed1cd16277016f834527254c7a3d0f (patch) | |
tree | 4c0858785f71098aab2477eedbec55e76d4f0b8a /clang/lib/CodeGen/CGExprScalar.cpp | |
parent | 51ee12a9fbef806fd770151de343c563402de42b (diff) | |
download | bcm5719-llvm-ab36f33db8ed1cd16277016f834527254c7a3d0f.tar.gz bcm5719-llvm-ab36f33db8ed1cd16277016f834527254c7a3d0f.zip |
Add _Float16 as a C/C++ source language type
This adds _Float16 as a source language type, which is a 16-bit floating point
type defined in C11 extension ISO/IEC TS 18661-3.
In follow up patches documentation and more tests will be added.
Differential Revision: https://reviews.llvm.org/D33719
llvm-svn: 312781
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprScalar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index 46a01a3bb8b..1c95ba382dc 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -1785,7 +1785,7 @@ Value *ScalarExprEmitter::VisitCastExpr(CastExpr *CE) { } case CK_IntToOCLSampler: - return CGF.CGM.createOpenCLIntToSamplerConversion(E, CGF);
+ return CGF.CGM.createOpenCLIntToSamplerConversion(E, CGF); } // end of switch |