[PATCH] D148029: [Clang] Fix crash caused by line splicing in doc comment
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 11 09:55:48 PDT 2023
cor3ntin created this revision.
Herald added a project: All.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Because the comment parser does not support slices,
we emit a warning for comments that do contain
a splice within their delimiter, and do not add them as
documentation comment.
Fixes #62054
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148029
Files:
clang/include/clang/AST/RawCommentList.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/Sema.cpp
clang/test/Lexer/comment-escape.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148029.512503.patch
Type: text/x-patch
Size: 3759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230411/922f0f61/attachment-0001.bin>
More information about the cfe-commits
mailing list