From 4d0b660f4bcde2544f3096225ec28f7940162c30 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 26 Apr 2018 11:43:18 -0400 Subject: [PATCH] translate-c: add missing decl type from LLVM 7 --- src/translate_c.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/translate_c.cpp b/src/translate_c.cpp index 965a8963b..31bc9d975 100644 --- 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(); }