Skip to content

Commit fe34cc5

Browse files
committed
Parse CXType_Attributed in a very simple manner
1 parent 18d0c7c commit fe34cc5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/ir/ty.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,15 @@ impl Type {
10361036
Item::from_ty_or_ref(pointee, location, None, ctx);
10371037
TypeKind::Pointer(inner)
10381038
}
1039+
CXType_Attributed => {
1040+
return Self::from_clang_ty(
1041+
potential_id,
1042+
&canonical_ty,
1043+
location,
1044+
parent_id,
1045+
ctx,
1046+
);
1047+
}
10391048
CXType_BlockPointer => {
10401049
let pointee = ty.pointee_type().expect("Not valid Type?");
10411050
let inner =

0 commit comments

Comments
 (0)