dead code: remove splitOffAnchoredLeadingLiteral

This commit is contained in:
Justin Viiret 2017-02-02 10:26:11 +11:00 committed by Matthew Barr
parent c4bfe0449c
commit 7acd8dcac8
2 changed files with 2 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2015-2016, Intel Corporation * Copyright (c) 2015-2017, Intel Corporation
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: * modification, are permitted provided that the following conditions are met:
@ -853,12 +853,6 @@ bool splitOffLeadingLiteral(const NGHolder &g, ue2_literal *lit_out,
return splitOffLeadingLiteral_i(g, false, lit_out, rhs); return splitOffLeadingLiteral_i(g, false, lit_out, rhs);
} }
bool splitOffAnchoredLeadingLiteral(const NGHolder &g, ue2_literal *lit_out,
NGHolder *rhs) {
return splitOffLeadingLiteral_i(g, true, lit_out, rhs);
}
bool getTrailingLiteral(const NGHolder &g, ue2_literal *lit_out) { bool getTrailingLiteral(const NGHolder &g, ue2_literal *lit_out) {
if (in_degree(g.acceptEod, g) != 1) { if (in_degree(g.acceptEod, g) != 1) {
return false; return false;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2015-2016, Intel Corporation * Copyright (c) 2015-2017, Intel Corporation
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: * modification, are permitted provided that the following conditions are met:
@ -87,9 +87,6 @@ u64a sanitizeAndCompressAndScore(std::set<ue2_literal> &s);
bool splitOffLeadingLiteral(const NGHolder &g, ue2_literal *lit_out, bool splitOffLeadingLiteral(const NGHolder &g, ue2_literal *lit_out,
NGHolder *rhs); NGHolder *rhs);
bool splitOffAnchoredLeadingLiteral(const NGHolder &g, ue2_literal *lit_out,
NGHolder *rhs);
bool getTrailingLiteral(const NGHolder &g, ue2_literal *lit_out); bool getTrailingLiteral(const NGHolder &g, ue2_literal *lit_out);
/** \brief Returns true if the given literal is the only thing in the graph, /** \brief Returns true if the given literal is the only thing in the graph,