Merge remote-tracking branch 'origin/master' into llvm12
This commit is contained in:
@@ -2613,6 +2613,16 @@ struct ZigClangQualType ZigClangMacroQualifiedType_getModifiedType(const struct
|
||||
return bitcast(casted->getModifiedType());
|
||||
}
|
||||
|
||||
struct ZigClangQualType ZigClangTypeOfType_getUnderlyingType(const struct ZigClangTypeOfType *self) {
|
||||
auto casted = reinterpret_cast<const clang::TypeOfType *>(self);
|
||||
return bitcast(casted->getUnderlyingType());
|
||||
}
|
||||
|
||||
const struct ZigClangExpr *ZigClangTypeOfExprType_getUnderlyingExpr(const struct ZigClangTypeOfExprType *self) {
|
||||
auto casted = reinterpret_cast<const clang::TypeOfExprType *>(self);
|
||||
return reinterpret_cast<const struct ZigClangExpr *>(casted->getUnderlyingExpr());
|
||||
}
|
||||
|
||||
struct ZigClangQualType ZigClangElaboratedType_getNamedType(const struct ZigClangElaboratedType *self) {
|
||||
auto casted = reinterpret_cast<const clang::ElaboratedType *>(self);
|
||||
return bitcast(casted->getNamedType());
|
||||
|
||||
Reference in New Issue
Block a user