[clang] c60972a - [clang][bytecode][NFC] Surround Pointer diagram in \verbatim (#158550)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 15 00:19:30 PDT 2025
Author: Timm Baeder
Date: 2025-09-15T09:19:26+02:00
New Revision: c60972a2cf16faba38844c82addeb78c893d5b3b
URL: https://github.com/llvm/llvm-project/commit/c60972a2cf16faba38844c82addeb78c893d5b3b
DIFF: https://github.com/llvm/llvm-project/commit/c60972a2cf16faba38844c82addeb78c893d5b3b.diff
LOG: [clang][bytecode][NFC] Surround Pointer diagram in \verbatim (#158550)
See if this fixes the documentation.
Added:
Modified:
clang/lib/AST/ByteCode/Pointer.h
Removed:
################################################################################
diff --git a/clang/lib/AST/ByteCode/Pointer.h b/clang/lib/AST/ByteCode/Pointer.h
index 49d701c3e27b6..9e67374c3354f 100644
--- a/clang/lib/AST/ByteCode/Pointer.h
+++ b/clang/lib/AST/ByteCode/Pointer.h
@@ -75,7 +75,7 @@ enum class Storage { Block, Int, Fn, Typeid };
/// data the pointer decribes can be found at
/// Pointee->rawData() + Pointer.Offset.
///
-///
+/// \verbatim
/// Pointee Offset
/// │ │
/// │ │
@@ -87,6 +87,7 @@ enum class Storage { Block, Int, Fn, Typeid };
/// │
/// │
/// Base
+/// \endverbatim
class Pointer {
private:
static constexpr unsigned PastEndMark = ~0u;
More information about the cfe-commits
mailing list