aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-26 11:43:18 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-04-26 11:43:18 -0400
commit4d0b660f4bcde2544f3096225ec28f7940162c30 (patch)
tree7ca85acfff5f57e674432713661597440fdffe29 /src
parentbbfff4614614726dd2ef2c05f851f91be5368f84 (diff)
downloadzig-4d0b660f4bcde2544f3096225ec28f7940162c30.tar.gz
zig-4d0b660f4bcde2544f3096225ec28f7940162c30.zip
translate-c: add missing decl type from LLVM 7
Diffstat (limited to 'src')
-rw-r--r--src/translate_c.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/translate_c.cpp b/src/translate_c.cpp
index 965a8963bd..31bc9d975f 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();
}