aboutsummaryrefslogtreecommitdiff
path: root/include/atp/frontend/tptp_parser.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-08 03:23:16 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-08 03:23:16 +0800
commit4b31d8f59a6d3237f176a122c82f46fdaef4551d (patch)
tree917c9d42bb2cdbe96f5fc5416ae55789986029d7 /include/atp/frontend/tptp_parser.h
parent5ab3efd522cf0221481684b5bbc9c2ac6bfc9919 (diff)
downloadratp-4b31d8f59a6d3237f176a122c82f46fdaef4551d.tar.gz
ratp-4b31d8f59a6d3237f176a122c82f46fdaef4551d.tar.xz
feat: enhance clang-tidy configuration and improve code quality across multiple filesHEADmaster
Diffstat (limited to 'include/atp/frontend/tptp_parser.h')
-rw-r--r--include/atp/frontend/tptp_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atp/frontend/tptp_parser.h b/include/atp/frontend/tptp_parser.h
index 89eab6b..68a5564 100644
--- a/include/atp/frontend/tptp_parser.h
+++ b/include/atp/frontend/tptp_parser.h
@@ -59,7 +59,7 @@ FormulaRole parseRole(std::string_view role_str);
/// A parsed TPTP formula with its name and role.
struct AnnotatedFormula {
std::string name_; ///< Formula name (e.g., "axiom1")
- FormulaRole role_; ///< Semantic role
+ FormulaRole role_ = FormulaRole::kPlain; ///< Semantic role
std::unique_ptr<Formula> formula_; ///< The FOL formula (for fof(...))
std::vector<Clause> clauses_; ///< Direct clauses (for cnf(...))
bool is_cnf_ = false; ///< true if input was cnf(), false if fof()