style: update clang-format
Pull the most recent OpenBMC style rules and run clang-format.
Change-Id: I11a25ea1e62d6c739010d9dd742a139fb17cc09a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/test/associations_test.cpp b/test/associations_test.cpp
index 357659d..7da4a20 100644
--- a/test/associations_test.cpp
+++ b/test/associations_test.cpp
@@ -142,8 +142,7 @@
{
protected:
AssocsTest() : ::testing::Test(), bus(sdbusplus::bus::new_default())
- {
- }
+ {}
fs::path jsonDir;
sdbusplus::bus::bus bus;
@@ -179,8 +178,7 @@
EXPECT_TRUE(false);
}
catch (std::exception& e)
- {
- }
+ {}
}
TEST_F(AssocsTest, TEST_GOOD_JSON)
@@ -252,8 +250,7 @@
EXPECT_TRUE(false);
}
catch (std::exception& e)
- {
- }
+ {}
}
TEST_F(AssocsTest, TEST_BAD_JSON1)
@@ -267,8 +264,7 @@
EXPECT_TRUE(false);
}
catch (std::exception& e)
- {
- }
+ {}
}
TEST_F(AssocsTest, TEST_BAD_JSON2)
@@ -282,8 +278,7 @@
EXPECT_TRUE(false);
}
catch (std::exception& e)
- {
- }
+ {}
}
TEST_F(AssocsTest, TEST_BAD_JSON3)
@@ -297,6 +292,5 @@
EXPECT_TRUE(false);
}
catch (std::exception& e)
- {
- }
+ {}
}
diff --git a/test/test.cpp b/test/test.cpp
index cea8b89..e7058be 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -113,8 +113,7 @@
explicit SignalQueue(const std::string& match) :
_bus(sdbusplus::bus::new_default()),
_match(_bus, match.c_str(), &callback, this), _next(nullptr)
- {
- }
+ {}
auto&& pop(unsigned timeout = 1000000)
{
diff --git a/test/types_test.cpp b/test/types_test.cpp
index 04e13d5..dabcd9a 100644
--- a/test/types_test.cpp
+++ b/test/types_test.cpp
@@ -6,33 +6,23 @@
using namespace phosphor::inventory::manager;
struct Empty
-{
-};
+{};
void functionUsingInterfaceVariantType(InterfaceVariantType&)
-{
-}
+{}
void functionUsingInterfaceType(InterfaceType<Empty>&)
-{
-}
+{}
void functionUsingObjectType(ObjectType<Empty>&)
-{
-}
+{}
void functionUsingInterface(Interface&)
-{
-}
+{}
void functionUsingObject(Object&)
-{
-}
+{}
void functionUsingAction(Action&)
-{
-}
+{}
void functionUsingFilter(Filter&)
-{
-}
+{}
void functionUsingPathCondition(PathCondition&)
-{
-}
+{}
void functionUsingGetProperty(GetProperty<Empty>&)
-{
-}
+{}