mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
update for latest clang API
This commit is contained in:
parent
4d920cee6e
commit
2255f275a0
@ -1134,6 +1134,7 @@ static AstNode *trans_type(Context *c, const Type *ty, const SourceLocation &sou
|
||||
case Type::ObjCTypeParam:
|
||||
case Type::DeducedTemplateSpecialization:
|
||||
case Type::DependentAddressSpace:
|
||||
case Type::DependentVector:
|
||||
emit_warning(c, source_loc, "unsupported type: '%s'", ty->getTypeClassName());
|
||||
return nullptr;
|
||||
}
|
||||
@ -2573,6 +2574,7 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope *
|
||||
case Type::ObjCTypeParam:
|
||||
case Type::DeducedTemplateSpecialization:
|
||||
case Type::DependentAddressSpace:
|
||||
case Type::DependentVector:
|
||||
return res;
|
||||
}
|
||||
zig_unreachable();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user