mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
dead code: remove splitOffAnchoredLeadingLiteral
This commit is contained in:
parent
c4bfe0449c
commit
7acd8dcac8
@ -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;
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user