Skip to content

Commit dd8e3b1

Browse files
xdoardoresistor
authored andcommitted
[CHERIoT] Add missing cases for newly introduced attributes in printAttributedAfter (#157)
1 parent ed82893 commit dd8e3b1

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
@@ -2125,6 +2125,12 @@ void TypePrinter::printAttributedAfter(const AttributedType *T,
21252125
case attr::CHERILibCall:
21262126
OS << "cheri_libcall";
21272127
break;
2128+
case attr::CHERIOTMMIODevice:
2129+
OS << "cheriot_mmio";
2130+
break;
2131+
case attr::CHERIOTSharedObject:
2132+
OS << "cheriot_shared_object";
2133+
break;
21282134
case attr::FastCall: OS << "fastcall"; break;
21292135
case attr::StdCall: OS << "stdcall"; break;
21302136
case attr::ThisCall: OS << "thiscall"; break;

0 commit comments

Comments
 (0)