Skip to content

Commit 3feaeed

Browse files
committed
[CHERIoT] Add missing cases for newly introduced attributes in printAttributedAfter
1 parent a17a9a2 commit 3feaeed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clang/lib/AST/TypePrinter.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,12 @@ void TypePrinter::printAttributedAfter(const AttributedType *T,
21062106
case attr::CHERILibCall:
21072107
OS << "cheri_libcall";
21082108
break;
2109+
case attr::CHERIOTMMIODevice:
2110+
OS << "cheriot_mmio";
2111+
break;
2112+
case attr::CHERIOTSharedObject:
2113+
OS << "cheriot_shared_object";
2114+
break;
21092115
case attr::FastCall: OS << "fastcall"; break;
21102116
case attr::StdCall: OS << "stdcall"; break;
21112117
case attr::ThisCall: OS << "thiscall"; break;

0 commit comments

Comments
 (0)