[clang] [clang-format] Add MainIncludeChar option. (PR #78752)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 12:02:51 PST 2024


================
@@ -151,6 +151,21 @@ struct IncludeStyle {
   /// before any other include.
   /// \version 10
   std::string IncludeIsMainSourceRegex;
+
+  /// Character to consider in the include directives for the main header.
----------------
HazardyKnusperkeks wrote:

It should also be added to `FormatStyle::operator==` in `Format.h`.

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


More information about the cfe-commits mailing list