[clang] [clang-format] Add an option to control indentation of `export { ... }` (PR #110381)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 18 11:35:35 PST 2025


================
@@ -171,6 +171,8 @@ class UnwrappedLineParser {
   void parseRequiresClause(FormatToken *RequiresToken);
   void parseRequiresExpression(FormatToken *RequiresToken);
   void parseConstraintExpression();
+  void parseCXXExportBlock();
----------------
HazardyKnusperkeks wrote:

```suggestion
  void parseCppExportBlock();
```
This would be more consistent.

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


More information about the cfe-commits mailing list