diff options
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r-- | clang/lib/Parse/Parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index 0b09218..3dfd446 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -1992,7 +1992,8 @@ bool Parser::TryAnnotateTypeOrScopeToken( assert((Tok.is(tok::identifier) || Tok.is(tok::coloncolon) || Tok.is(tok::kw_typename) || Tok.is(tok::annot_cxxscope) || Tok.is(tok::kw_decltype) || Tok.is(tok::annot_template_id) || - Tok.is(tok::kw___super) || Tok.is(tok::kw_auto)) && + Tok.is(tok::kw___super) || Tok.is(tok::kw_auto) || + Tok.is(tok::annot_pack_indexing_type)) && "Cannot be a type or scope token!"); if (Tok.is(tok::kw_typename)) { |