[all-commits] [llvm/llvm-project] ef7d46: Template Diagnostic Improvements (#99933)
Braden Helmer via All-commits
all-commits at lists.llvm.org
Tue Jul 23 04:32:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef7d46c7e6b33b6294f23b6df290b335a761fbd5
https://github.com/llvm/llvm-project/commit/ef7d46c7e6b33b6294f23b6df290b335a761fbd5
Author: Braden Helmer <bradenhelmeraus at gmail.com>
Date: 2024-07-23 (Tue, 23 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseStmt.cpp
M clang/test/CXX/drs/cwg6xx.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-20.cpp
M clang/test/Parser/cxx-template-decl.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
A clang/test/SemaCXX/invalid-template-declaration.cpp
M clang/test/SemaTemplate/class-template-decl.cpp
M clang/test/SemaTemplate/nested-template.cpp
Log Message:
-----------
Template Diagnostic Improvements (#99933)
It turns out `SemaTemplate` handles this type of diagnostic already,
however when template gets encountered, it never gets parsed as a
possible statement or declaration, only as an expression.
Fixes #17959.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list