aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/utility.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/utility.ixx')
-rw-r--r--libbuild2/cc/utility.ixx15
1 files changed, 0 insertions, 15 deletions
diff --git a/libbuild2/cc/utility.ixx b/libbuild2/cc/utility.ixx
index d69b898..0b94780 100644
--- a/libbuild2/cc/utility.ixx
+++ b/libbuild2/cc/utility.ixx
@@ -23,21 +23,6 @@ namespace build2
otype::s;
}
- inline ltype
- link_type (const target& t)
- {
- using namespace bin;
-
- bool u (false);
- otype o (
- t.is_a<exe> () || (u = t.is_a<libue> ()) ? otype::e :
- t.is_a<liba> () || (u = t.is_a<libua> ()) ? otype::a :
- t.is_a<libs> () || (u = t.is_a<libus> ()) ? otype::s :
- static_cast<otype> (0xFF));
-
- return ltype {o, u};
- }
-
inline compile_target_types
compile_types (otype t)
{