add .clang-format

Change-Id: I94ce26d595367e08d6fb3734535bcd855f1b1473
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/sensor.hpp b/sensor.hpp
index 9d48483..7005ea9 100644
--- a/sensor.hpp
+++ b/sensor.hpp
@@ -1,9 +1,10 @@
 #pragma once
 
-#include <unordered_set>
-#include "types.hpp"
-#include "sensorset.hpp"
 #include "hwmonio.hpp"
+#include "sensorset.hpp"
+#include "types.hpp"
+
+#include <unordered_set>
 
 namespace sensor
 {
@@ -23,97 +24,95 @@
  */
 class Sensor
 {
-    public:
-        Sensor() = delete;
-        Sensor(const Sensor&) = delete;
-        Sensor(Sensor&&) = default;
-        Sensor& operator=(const Sensor&) = delete;
-        Sensor& operator=(Sensor&&) = default;
-        ~Sensor() = default;
+  public:
+    Sensor() = delete;
+    Sensor(const Sensor&) = delete;
+    Sensor(Sensor&&) = default;
+    Sensor& operator=(const Sensor&) = delete;
+    Sensor& operator=(Sensor&&) = default;
+    ~Sensor() = default;
 
-        /**
-         * @brief Constructs Sensor object
-         *
-         * @param[in] sensor - A pair of sensor indentifiers
-         * @param[in] ioAccess - Hwmon sysfs access
-         * @param[in] devPath - Device sysfs path
-         */
-        explicit Sensor(const SensorSet::key_type& sensor,
-                        const hwmonio::HwmonIO& ioAccess,
-                        const std::string& devPath);
+    /**
+     * @brief Constructs Sensor object
+     *
+     * @param[in] sensor - A pair of sensor indentifiers
+     * @param[in] ioAccess - Hwmon sysfs access
+     * @param[in] devPath - Device sysfs path
+     */
+    explicit Sensor(const SensorSet::key_type& sensor,
+                    const hwmonio::HwmonIO& ioAccess,
+                    const std::string& devPath);
 
-        /**
-         * @brief Adds any sensor removal return codes for the sensor
-         * @details Add all return codes defined within a device's config file
-         * for the entire device or for the specific sensor.
-         *
-         * @param[in] rcList - List of return codes found for the sensor
-         */
-        void addRemoveRCs(const std::string& rcList);
+    /**
+     * @brief Adds any sensor removal return codes for the sensor
+     * @details Add all return codes defined within a device's config file
+     * for the entire device or for the specific sensor.
+     *
+     * @param[in] rcList - List of return codes found for the sensor
+     */
+    void addRemoveRCs(const std::string& rcList);
 
-        /**
-         * @brief Get the adjustments struct for the sensor
-         *
-         * @return - Sensor adjustment struct
-         */
-        inline const valueAdjust& getAdjusts()
-        {
-            return sensorAdjusts;
-        }
+    /**
+     * @brief Get the adjustments struct for the sensor
+     *
+     * @return - Sensor adjustment struct
+     */
+    inline const valueAdjust& getAdjusts()
+    {
+        return sensorAdjusts;
+    }
 
-        /**
-         * @brief Adjusts a sensor value
-         * @details Adjusts the value given by any gain and/or offset defined
-         * for this sensor object and returns that adjusted value.
-         *
-         * @param[in] value - Value to be adjusted
-         *
-         * @return - Adjusted sensor value
-         */
-        int64_t adjustValue(int64_t value);
+    /**
+     * @brief Adjusts a sensor value
+     * @details Adjusts the value given by any gain and/or offset defined
+     * for this sensor object and returns that adjusted value.
+     *
+     * @param[in] value - Value to be adjusted
+     *
+     * @return - Adjusted sensor value
+     */
+    int64_t adjustValue(int64_t value);
 
-        /**
-         * @brief Add value interface and value property for sensor
-         * @details When a sensor has an associated input file, the Sensor.Value
-         * interface is added along with setting the Value property to the
-         * corresponding value found in the input file.
-         *
-         * @param[in] retryIO - Hwmon sysfs file retry constraints
-         *                      (number of and delay between)
-         * @param[in] info - Sensor object information
-         *
-         * @return - Shared pointer to the value object
-         */
-        std::shared_ptr<ValueObject> addValue(
-                const RetryIO& retryIO,
-                ObjectInfo& info);
+    /**
+     * @brief Add value interface and value property for sensor
+     * @details When a sensor has an associated input file, the Sensor.Value
+     * interface is added along with setting the Value property to the
+     * corresponding value found in the input file.
+     *
+     * @param[in] retryIO - Hwmon sysfs file retry constraints
+     *                      (number of and delay between)
+     * @param[in] info - Sensor object information
+     *
+     * @return - Shared pointer to the value object
+     */
+    std::shared_ptr<ValueObject> addValue(const RetryIO& retryIO,
+                                          ObjectInfo& info);
 
-        /**
-         * @brief Add status interface and functional property for sensor
-         * @details When a sensor has an associated fault file, the
-         * OperationalStatus interface is added along with setting the
-         * Functional property to the corresponding value found in the
-         * fault file.
-         *
-         * @param[in] info - Sensor object information
-         *
-         * @return - Shared pointer to the status object
-         */
-        std::shared_ptr<StatusObject> addStatus(
-                ObjectInfo& info);
+    /**
+     * @brief Add status interface and functional property for sensor
+     * @details When a sensor has an associated fault file, the
+     * OperationalStatus interface is added along with setting the
+     * Functional property to the corresponding value found in the
+     * fault file.
+     *
+     * @param[in] info - Sensor object information
+     *
+     * @return - Shared pointer to the status object
+     */
+    std::shared_ptr<StatusObject> addStatus(ObjectInfo& info);
 
-    private:
-        /** @brief Sensor object's identifiers */
-        SensorSet::key_type sensor;
+  private:
+    /** @brief Sensor object's identifiers */
+    SensorSet::key_type sensor;
 
-        /** @brief Hwmon sysfs access. */
-        const hwmonio::HwmonIO& ioAccess;
+    /** @brief Hwmon sysfs access. */
+    const hwmonio::HwmonIO& ioAccess;
 
-        /** @brief Physical device sysfs path. */
-        const std::string& devPath;
+    /** @brief Physical device sysfs path. */
+    const std::string& devPath;
 
-        /** @brief Structure for storing sensor adjustments */
-        valueAdjust sensorAdjusts;
+    /** @brief Structure for storing sensor adjustments */
+    valueAdjust sensorAdjusts;
 };
 
 } // namespace sensor