Skip to content

Commit 2f0b67f

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12402,7 +12402,8 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context,
1240212402

1240312403
// Read the base type.
1240412404
switch (*Str++) {
12405-
default: llvm_unreachable("Unknown builtin type letter!");
12405+
default:
12406+
llvm_unreachable("Unknown builtin type letter!");
1240612407
case 'e':
1240712408
assert(HowLong == 0 && !Signed && !Unsigned &&
1240812409
"Bad modifiers used with 'e'!");

0 commit comments

Comments
 (0)