This causes a regression for top level ternary expressions, but that's deemed
acceptable, as those really should be very rare.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Format/TokenAnnotator.cpp | ||
---|---|---|
1001 ↗ | (On Diff #61716) | Well, if you keep the Line.MustBeDeclaration here, then the test case does not regress. I believe that the test in itself probably doesn't make much sense, but at least then we aren't regressing it. At any rate, it seems bad to keep the Line.MustBeDeclaration above and remove it here. |