From f05d024666ba4ece6d37d49d7168f47c3ae2b51f Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Wed, 3 Feb 2021 10:33:06 +0000 Subject: ecp5: Use snake case for arch-specific functions This makes the difference clearer between the general arch API that everyone must implement; and helper functions specific to one arch. Signed-off-by: D. Shah --- ecp5/lpf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp5/lpf.cc') diff --git a/ecp5/lpf.cc b/ecp5/lpf.cc index 8b972380..c12b65c4 100644 --- a/ecp5/lpf.cc +++ b/ecp5/lpf.cc @@ -36,7 +36,7 @@ static const std::unordered_set iobuf_keys = { "CLAMP", "OPENDRAIN", "DIFFRESISTOR", "DIFFDRIVE", "HYSTERESIS", "TERMINATION", }; -bool Arch::applyLPF(std::string filename, std::istream &in) +bool Arch::apply_lpf(std::string filename, std::istream &in) { auto isempty = [](const std::string &str) { return std::all_of(str.begin(), str.end(), [](char c) { return isblank(c) || c == '\r' || c == '\n'; }); -- cgit v1.2.3