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

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 13 07:47:09 PST 2023


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

thanks for the tip!

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


More information about the cfe-commits mailing list