This patch is to remove FIXME added in r207964.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| lib/Format/TokenAnnotator.cpp | ||
|---|---|---|
| 827 | I think this should return a bool (essentially IsCast..). Otherwise, this is a bit confusing and it gets much harder to understand the what can actually happen here. | |
| 828 | According to LLVM naming conventions this needs to be TokType. | |
| 881 | So basically "return IsCast && !ParensAreEmpty;" | |
Comment Actions
I'd change the name, otherwise looks good.
| lib/Format/TokenAnnotator.cpp | ||
|---|---|---|
| 821 | Lets call this "rParenEndsCast" for now (not really sure what the best name is here). | |
Lets call this "rParenEndsCast" for now (not really sure what the best name is here).