Add clang-format guards to protect code formatting

This commit is contained in:
Eduardo Almeida
2022-08-26 22:42:46 +01:00
parent 3d9e2d39b7
commit fcb90b1ef6
36 changed files with 154 additions and 171 deletions

View File

@@ -1528,6 +1528,7 @@ PrintAttributeImplementations (std::ostream & os)
{
NS_LOG_FUNCTION_NOARGS ();
// clang-format off
const AttributeDescriptor attributes [] =
{
// Name Type see Base header-file
@@ -1574,6 +1575,7 @@ PrintAttributeImplementations (std::ostream & os)
{ "Uinteger", "uint64_t", false, "uinteger.h" },
{ "", "", false, "last placeholder" }
};
// clang-format on
int i = 0;
while (attributes[i].m_name != "")