[clang] [Clang][Comments] Allow HTML tags across multiple lines (PR #120843)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 08:39:20 PST 2025


================
@@ -1453,6 +1453,129 @@ TEST_F(CommentLexerTest, HTML19) {
   ASSERT_EQ(tok::newline,      Toks[2].getKind());
 }
 
+TEST_F(CommentLexerTest, HTML20) {
----------------
cor3ntin wrote:

can we add tests for 
```<
a
>
```
To make sure we don;t do something unreasonable - even though it's not a valid tag?

https://github.com/llvm/llvm-project/pull/120843


More information about the cfe-commits mailing list