Need help with clang-format


I am working on clang-format and need some help. I ran clang-format on this file and got this output:

whereas the same configurations edited the same thing but with 2 parameters like this:

Here is the link to my configuration file:

Why is this happening? Am I doing something wrong? Please help.

Thank you