[clang] [clang-format] Option to ignore PP directives (PR #70338)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 18 04:52:47 PST 2023
================
@@ -24206,10 +24206,11 @@ TEST_F(FormatTest, IgnorePPDefinitions) {
Style.IndentPPDirectives = FormatStyle::PPDIS_None;
verifyNoChange("#if A\n"
"#define A a\n"
- "#endif",
+ "#endif\n",
----------------
tomekpaszek wrote:
no reason. removed the trailing line breaks now
https://github.com/llvm/llvm-project/pull/70338
More information about the cfe-commits
mailing list