[PATCH] D83296: [clang-format] Add a MacroExpander.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 13:46:16 PDT 2020


sammccall added a comment.

In D83296#2299062 <https://reviews.llvm.org/D83296#2299062>, @nridge wrote:

> What does this change mean for users of clang-format -- better formatting of complicated (e.g. multi-line) macro invocations?

Nothing from this change is exposed yet, it's part of a series.
The end goal is as you say: perfect formatting of code in and around arbitrary macros, by passing (simplified) macro definitions as configuration.

D88299 <https://reviews.llvm.org/D88299> is next, Manuel assures me it gets easier from there :-)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83296/new/

https://reviews.llvm.org/D83296



More information about the cfe-commits mailing list