zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4d0b660f4bcde2544f3096225ec28f7940162c30 (tree)
parent bbfff4614614726dd2ef2c05f851f91be5368f84
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Thu, 26 Apr 2018 11:43:18 -0400

translate-c: add missing decl type from LLVM 7

Diffstat:
Msrc/translate_c.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/translate_c.cpp b/src/translate_c.cpp @@ -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(); }