[clang] [clang-format] Option to ignore PP directives (PR #70338)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 12 11:44:27 PST 2023


================
@@ -4648,6 +4648,10 @@ struct FormatStyle {
   /// \version 11
   std::vector<std::string> WhitespaceSensitiveMacros;
 
+  /// Ignore formatting in preprocessor definitions.
----------------
HazardyKnusperkeks wrote:

Run `clang/docs/tools/dump_format_style.py`.

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


More information about the cfe-commits mailing list