Skip to content

Commit f2d1093

Browse files
committed
Removed the 'e' handling
1 parent 8742747 commit f2d1093

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

clang/include/clang/Basic/Builtins.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
// SJ -> sigjmp_buf
4444
// K -> ucontext_t
4545
// p -> pid_t
46-
// e -> _Float16 for HIP/C++ and __fp16 for OpenCL
4746
// . -> "...". This may only occur at the end of the function list.
4847
//
4948
// Types may be prefixed with the following modifiers:

clang/lib/AST/ASTContext.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12403,11 +12403,6 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context,
1240312403
// Read the base type.
1240412404
switch (*Str++) {
1240512405
default: llvm_unreachable("Unknown builtin type letter!");
12406-
case 'e':
12407-
assert(HowLong == 0 && !Signed && !Unsigned &&
12408-
"Bad modifiers used with 'e'!");
12409-
Type = Context.getLangOpts().OpenCL ? Context.HalfTy : Context.Float16Ty;
12410-
break;
1241112406
case 'x':
1241212407
assert(HowLong == 0 && !Signed && !Unsigned &&
1241312408
"Bad modifiers used with 'x'!");

0 commit comments

Comments
 (0)