[PATCH] D132821: [clang][Parse] Fix crash when emitting template diagnostic
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 08:32:35 PDT 2022
tbaeder added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticParseKinds.td:779
+ "<unused>|refers to a variable template|<unused>|refers to a concept|"
+ "refers to a concept template}1">;
def err_id_after_template_in_nested_name_spec : Error<
----------------
cjdb wrote:
> Is "concept template" a term of art? I have never heard of that before.
The enum member is called `clang::TNK_Concept_template`, so I made up "concept template" from that. Not sure what to use instead, would just "refers to a concept" be better?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132821/new/
https://reviews.llvm.org/D132821
More information about the cfe-commits
mailing list