]> granicus.if.org Git - clang/commit
PR42071: Reject weird names for non-type template parameters.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 14 Jun 2019 20:01:54 +0000 (20:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 14 Jun 2019 20:01:54 +0000 (20:01 +0000)
commitba78be77a4efee70ff070aabccb9903e712fa5ac
treeb70be03c65b3ac2575de0ad4a044419f4b228b70
parentb444e6042265d9b7c8f63d0ad92695ee11e7a6b0
PR42071: Reject weird names for non-type template parameters.

Also reject default arguments appearing in invalid locations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363447 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
test/Parser/cxx-template-decl.cpp