[ClavaAst] Desugar Bases from Class
@@ -165,7 +165,7 @@ public class CXXRecordDecl extends RecordDecl {
public List<Decl> getBases() {
return get(RECORD_BASES).stream()
- .map(baseSpec -> baseSpec.get(CXXBaseSpecifier.TYPE).get(TagType.DECL))
+ .map(baseSpec -> baseSpec.get(CXXBaseSpecifier.TYPE).desugarAll().get(TagType.DECL))
.collect(Collectors.toList());
}
