diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-04-26 11:43:18 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-04-26 11:43:18 -0400 |
| commit | 4d0b660f4bcde2544f3096225ec28f7940162c30 (patch) | |
| tree | 7ca85acfff5f57e674432713661597440fdffe29 /src | |
| parent | bbfff4614614726dd2ef2c05f851f91be5368f84 (diff) | |
| download | zig-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.cpp | 3 |
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(); } |
