[clang] [clang-format] Fix a bug in annotating `*` in `#define`s (PR #99433)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 09:10:03 PDT 2024


owenca wrote:

> How about judging whether the FunctionLBrace exists as the opener of the outer context?

That wouldn't work as we must also handle function calls at the top level when dealing with macro definitions.

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


More information about the cfe-commits mailing list