Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The windows build failure appears to be unrelated to this change. I found the need to include !Left.Previous in the conditional so as to account for the existing unittest in the form of:
new (expr)
To not wind up formatting this case as:
new(expr)
Though it's still unclear to me whether or not it'd make more sense to continue to pursue a change to introduce C as a language. Thoughts?
I prefer your current approach (and there should be not that many cases that we need a special treatment for C).
Adding a new language would be to disruptive and difficult, as well as hard to use in some cases (headers in C and C++ often share the same extension).
clang/unittests/Format/FormatTest.cpp | ||
---|---|---|
9926 | Why there's no space after delete in the input? |
Makes sense. I'll also need someone to commit on my behalf:
- Luis Penagos
- luis@penagos.co
Thanks!
clang/unittests/Format/FormatTest.cpp | ||
---|---|---|
9926 | Whoops, good catch. |
Why there's no space after delete in the input?