]> granicus.if.org Git - clang/commit
Diagnose missing 'template' keywords in contexts where a comma is not a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 27 Jun 2018 01:32:04 +0000 (01:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 27 Jun 2018 01:32:04 +0000 (01:32 +0000)
commit2f412f2b9817c1b159472cb3c18438ffdb4a5407
tree30add0de63989b15ba4e96acbb2b440f5eda5855
parentaffe61a68001370fed6047bec14f7c33519f3731
Diagnose missing 'template' keywords in contexts where a comma is not a
binary operator.

Factor out the checking for a comma within potential angle brackets and
also call it from contexts where we parse a comma-separated list of
arguments or initializers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335699 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseTemplate.cpp
test/SemaTemplate/dependent-template-recover.cpp