/*
- * Copyright (c) 2015-2016, Intel Corporation
+ * Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
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) {
if (in_degree(g.acceptEod, g) != 1) {
return false;
/*
- * Copyright (c) 2015-2016, Intel Corporation
+ * Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
bool splitOffLeadingLiteral(const NGHolder &g, ue2_literal *lit_out,
NGHolder *rhs);
-bool splitOffAnchoredLeadingLiteral(const NGHolder &g, ue2_literal *lit_out,
- NGHolder *rhs);
-
bool getTrailingLiteral(const NGHolder &g, ue2_literal *lit_out);
/** \brief Returns true if the given literal is the only thing in the graph,