https://bugs.llvm.org/show_bug.cgi?id=34300
Bug ID: 34300
Summary: clang-format regression in current 5.0
Product: clang
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: mar...@oberhumer.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
clang-format (current 5.0 git branch) incorrectly indents some comments - see
"b" and "c" below.
This is a regression against versions 3.7 .. 4.0.
$ cat test.c
// a
int a(void) { return 1; }
// b
#define b 2
// c
#define c 3
$ clang-lang-format-5.0 < test.c
// a
int a(void) { return 1; }
// b
#define b 2
// c
#define c 3
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs