From bf4f464cec8b6515d9e5131d43847ef9b2fd21d1 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sat, 4 Apr 2026 05:21:26 +0800 Subject: style: reformat codebase with consistent indentation --- include/atp/core/term.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'include/atp/core/term.h') diff --git a/include/atp/core/term.h b/include/atp/core/term.h index 017882a..2be01e7 100644 --- a/include/atp/core/term.h +++ b/include/atp/core/term.h @@ -24,22 +24,20 @@ /// V1 uses vector for args. /// Future: flat arena with contiguous arg storage for cache locality. -#include - #include "atp/core/types.h" +#include + namespace atp { /// A term is a function/predicate application: f(t1, t2, ..., tn). /// Variables are 0-arity terms whose symbol has SymbolKind::kVariable. struct Term { - SymbolId symbol_id; ///< Index into the SymbolTable - std::vector args; ///< Argument sub-term IDs + SymbolId symbol_id; ///< Index into the SymbolTable + std::vector args; ///< Argument sub-term IDs /// Number of arguments. - [[nodiscard]] uint16_t arity() const { - return static_cast(args.size()); - } + [[nodiscard]] uint16_t arity() const { return static_cast(args.size()); } }; } // namespace atp -- cgit v1.2.3