clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I81aff1005be025ddb4405f384513c8e5e20bf6f4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/external/ExternalSensor.cpp b/src/external/ExternalSensor.cpp
index 305fd82..506823a 100644
--- a/src/external/ExternalSensor.cpp
+++ b/src/external/ExternalSensor.cpp
@@ -142,8 +142,8 @@
return (ageElapsed(now) < writeTimeout);
}
-void
- ExternalSensor::writeBegin(const std::chrono::steady_clock::time_point& now)
+void ExternalSensor::writeBegin(
+ const std::chrono::steady_clock::time_point& now)
{
if (!writeAlive)
{
diff --git a/src/external/ExternalSensor.hpp b/src/external/ExternalSensor.hpp
index 495c596..0675815 100644
--- a/src/external/ExternalSensor.hpp
+++ b/src/external/ExternalSensor.hpp
@@ -37,8 +37,8 @@
bool isAliveAndPerishable() const;
// Returns true if AliveAndPerishable and timeout has not yet happened
- bool
- isAliveAndFresh(const std::chrono::steady_clock::time_point& now) const;
+ bool isAliveAndFresh(
+ const std::chrono::steady_clock::time_point& now) const;
// Marks the time when Value successfully received from external source
void writeBegin(const std::chrono::steady_clock::time_point& now);
@@ -47,12 +47,12 @@
void writeInvalidate();
// Returns amount of time elapsed since last writeBegin() happened
- std::chrono::steady_clock::duration
- ageElapsed(const std::chrono::steady_clock::time_point& now) const;
+ std::chrono::steady_clock::duration ageElapsed(
+ const std::chrono::steady_clock::time_point& now) const;
// Returns amount of time remaining until sensor timeout will happen
- std::chrono::steady_clock::duration
- ageRemaining(const std::chrono::steady_clock::time_point& now) const;
+ std::chrono::steady_clock::duration ageRemaining(
+ const std::chrono::steady_clock::time_point& now) const;
private:
sdbusplus::asio::object_server& objServer;