Issue 55008
Summary clang-format crashes when AllowShortFunctionsOnASingleLine is set to Inline
Labels clang-format, crash
Assignees owenca
Reporter owenca
    clang-format still crashes after 19884d6:
```
$ cat .clang-format
AllowShortFunctionsOnASingleLine: Inline
$ clang-format
struct S {
// comment
#ifdef FOO
  int foo() { bar(); }
#endif
Assertion failed: (LastNonComment), function operator(), file UnwrappedLineFormatter.cpp, line 327.
...
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to