summaryrefslogtreecommitdiff
path: root/gcc/compare-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/compare-types.h')
-rw-r--r--gcc/compare-types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/compare-types.h b/gcc/compare-types.h
new file mode 100644
index 00000000000..2c690fc3081
--- /dev/null
+++ b/gcc/compare-types.h
@@ -0,0 +1,11 @@
+#pragma once
+
+namespace test_type_equality { void run_tests(); };
+extern bool eq_identifier(const_tree a, const_tree b);
+extern bool eq_pointer(const_tree a, const_tree b);
+extern bool eq_main_variant(const_tree a, const_tree b);
+extern bool eq_canonical(const_tree a, const_tree b);
+extern bool eq_canonical_internal(const_tree a, const_tree b);
+extern bool eq_type_compare(const_tree a, const_tree b);
+extern bool eq_type_structural(const_tree a, const_tree b);
+extern bool eq_types(const_tree a, const_tree b, const bool force_structural = false);