[all-commits] [llvm/llvm-project] 7d669b: [Clang][Comments] Allow HTML tags across multiple ...
nerix via All-commits
all-commits at lists.llvm.org
Wed Feb 5 05:46:37 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d669b7c25e15034a85cc4888465084e7f05f251
https://github.com/llvm/llvm-project/commit/7d669b7c25e15034a85cc4888465084e7f05f251
Author: nerix <nero.9 at hotmail.de>
Date: 2025-02-05 (Wed, 05 Feb 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/CommentLexer.cpp
M clang/test/AST/ast-dump-comment.cpp
M clang/unittests/AST/CommentLexer.cpp
M clang/unittests/AST/CommentParser.cpp
Log Message:
-----------
[Clang][Comments] Allow HTML tags across multiple lines (#120843)
HTML starting tags that span multiple lines were previously not allowed
(or rather, only the starting line was lexed as HTML). Doxygen allows
those tags.
This PR allows the starting tags to span multiple lines. They can't span
multiple (C-)Comments, though (it's likely a user-error). Multiple BCPL
comments are fine as those are single lines (shown below).
Example:
```c
/// <a
/// href="foo"
/// >Aaa</a>b
int Test;
```
Fixes #28321.
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