mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
translate-c: add missing decl type from LLVM 7
This commit is contained in:
parent
bbfff46146
commit
4d0b660f4b
@ -2245,6 +2245,9 @@ static int trans_local_declaration(Context *c, TransScope *scope, const DeclStmt
|
||||
case Decl::TranslationUnit:
|
||||
emit_warning(c, stmt->getLocStart(), "TODO handle decl kind TranslationUnit");
|
||||
return ErrorUnexpected;
|
||||
case Decl::Concept:
|
||||
emit_warning(c, stmt->getLocStart(), "TODO handle decl kind Concept");
|
||||
return ErrorUnexpected;
|
||||
}
|
||||
zig_unreachable();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user