================
Comment at: tools/clang/lib/Format/TokenAnnotator.cpp:862
@@ -866,1 +861,3 @@
+ Current = Current->Next;
+ while (Current && Current->isTrailingComment())
Current = Current->Next;
----------------
I assume this works because currently the only place where we check whether
something is a trailing comment checks "previous"?
http://llvm-reviews.chandlerc.com/D984
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits