Closed as not planned
Closed as not planned
Description
Bugzilla Link | 37478 |
Version | unspecified |
OS | MacOS X |
Reporter | LLVM Bugzilla Contributor |
Extended Description
Running clang-format on its own output results in a different output for
the following example. Is this expected behavior? The example has a
multi-line comment on a single line of a function body.
$ clang-format -version
clang-format version 7.0.0 (tags/google/stable/2018-01-11)
$ cat foo.c
void foo() {
/* THIS IS A COMMENT */
}
$ clang-format foo.c > foo2.c
$ cat foo2.c
void foo() { /* THIS IS A COMMENT */ }
$ clang-format foo2.c > foo3.c
$ cat foo3.c
void foo() { /* THIS IS A COMMENT */
}
Thank You,
Akhil Indurti