aboutsummaryrefslogtreecommitdiff
path: root/include/atp/rewrite/ordering.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-04 05:21:26 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-04 05:21:26 +0800
commitbf4f464cec8b6515d9e5131d43847ef9b2fd21d1 (patch)
tree8cff611e6dab7473c3bb601e58658fa44f0fd86f /include/atp/rewrite/ordering.h
parent6fac8eb886f1e60a5a075c48a5f7648bb537f74e (diff)
downloadratp-bf4f464cec8b6515d9e5131d43847ef9b2fd21d1.tar.gz
ratp-bf4f464cec8b6515d9e5131d43847ef9b2fd21d1.tar.xz
style: reformat codebase with consistent indentation
Diffstat (limited to 'include/atp/rewrite/ordering.h')
-rw-r--r--include/atp/rewrite/ordering.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/atp/rewrite/ordering.h b/include/atp/rewrite/ordering.h
index 5696766..195c3c6 100644
--- a/include/atp/rewrite/ordering.h
+++ b/include/atp/rewrite/ordering.h
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-
#pragma once
/// @file ordering.h
@@ -34,10 +33,10 @@ namespace atp {
/// Ordering comparison result.
enum class OrderResult : uint8_t {
- kLessThan, ///< t1 < t2
- kEqual, ///< t1 = t2
- kGreaterThan, ///< t1 > t2
- kIncomparable, ///< t1 and t2 are incomparable
+ kLessThan, ///< t1 < t2
+ kEqual, ///< t1 = t2
+ kGreaterThan, ///< t1 > t2
+ kIncomparable, ///< t1 and t2 are incomparable
};
/// Abstract base for term orderings.
@@ -47,8 +46,7 @@ class TermOrdering {
virtual ~TermOrdering() = default;
/// Compare two terms under the ordering.
- [[nodiscard]] virtual OrderResult compare(const TermBank& bank, TermId t1,
- TermId t2) const = 0;
+ [[nodiscard]] virtual OrderResult compare(const TermBank& bank, TermId t1, TermId t2) const = 0;
};
} // namespace atp