================ @@ -2786,6 +2786,11 @@ struct FormatStyle { /// \version 3.7 std::vector<std::string> ForEachMacros; + /// A vector of function-like macros whose invocations should be skipped by + /// ``RemoveParentheses``. + /// \version 21 + std::vector<std::string> FunctionLikeMacros; ---------------- HazardyKnusperkeks wrote:
I'd choose a different name, because there are a lot of function like macros out there, which should still be handled by RemoveParentheses. I think referring to directly to (remove)parentheses is better. https://github.com/llvm/llvm-project/pull/148345 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits