'is there a way to have clang format to require (or not require), parentheses around the argument?

Want clang-format to enforce a C language return keyword style. I'd prefer:

    return (foo);

but can live without the parentheses, I just want clang-format to do enforcement. -- Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source