Skip to content

Commit 6ee2764

Browse files
authored
[CHERIoT] Add missing case for newly introduced cheriot_sealed attribute in type printer (#162)
1 parent b0e8fa5 commit 6ee2764

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/lib/AST/TypePrinter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,9 @@ void TypePrinter::printAttributedAfter(const AttributedType *T,
21122112
case attr::CHERIOTSharedObject:
21132113
OS << "cheriot_shared_object";
21142114
break;
2115+
case attr::CHERIoTSealedType:
2116+
OS << "cheriot_sealed";
2117+
break;
21152118
case attr::FastCall: OS << "fastcall"; break;
21162119
case attr::StdCall: OS << "stdcall"; break;
21172120
case attr::ThisCall: OS << "thiscall"; break;

0 commit comments

Comments
 (0)