[clang] [clang-format] Add TryMacros and CatchMacros options (PR #183352)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 25 11:48:08 PST 2026


================
@@ -1405,6 +1406,7 @@ template <> struct MappingTraits<FormatStyle> {
     IO.mapOptional("TabWidth", Style.TabWidth);
     IO.mapOptional("TemplateNames", Style.TemplateNames);
     IO.mapOptional("TypeNames", Style.TypeNames);
+    IO.mapOptional("TryMacros", Style.TryMacros);
----------------
HazardyKnusperkeks wrote:

Dito.

https://github.com/llvm/llvm-project/pull/183352


More information about the cfe-commits mailing list