https://bugs.llvm.org/show_bug.cgi?id=42347
Bug ID: 42347
Summary: Weird indents when mixing #if with uniform
initialization syntax
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Input file:
$ cat test.cc
#include <string>
const std::string kConstant {
#if 1
1,
#else
2,
#endif
'a'
};
Formatted with -style=Chromium:
#include <string>
const std::string kConstant {
#if 1
1,
#else
2,
#endif
'a'
};
Expected:
const std::string kConstant {
#if 1
1,
#else
2,
#endif
'a'
};
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs