[clang-tools-extra] [clang-doc] Add Markdown AST node type definitions (PR #205609)
Neil Nair via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 24 18:13:24 PDT 2026
================
@@ -0,0 +1,73 @@
+#include "support/Markdown.h"
+#include "llvm/Support/Allocator.h"
+#include "llvm/Support/Casting.h"
+#include "gtest/gtest.h"
+
+using namespace clang::doc::markdown;
+using namespace llvm;
+
+namespace {
+
+TEST(MarkdownNodeTest, TextNode) {
+ BumpPtrAllocator Arena;
+ auto *N = new (Arena) TextNode("hello");
----------------
Neil-N4 wrote:
Simplified to stack construction instead
https://github.com/llvm/llvm-project/pull/205609
More information about the cfe-commits
mailing list