[clang] [clang-format] Add FunctionLikeMacros option (PR #148345)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 12 09:37:10 PDT 2025
================
@@ -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;
----------------
owenca wrote:
How about `MacrosSkippedByRemoveParentheses`?
https://github.com/llvm/llvm-project/pull/148345
More information about the cfe-commits
mailing list