otherwise lg
================ Comment at: lib/Format/Format.cpp:145 @@ +144,3 @@ + /// on a level. + std::vector<unsigned> LessLessPos; + ---------------- Perhaps call that LastLessLess to be consistent with LastSpace? ================ Comment at: lib/Format/Format.cpp:249 @@ -220,1 +248,3 @@ + if (Current.Tok.is(tok::lessless) && State.LessLessPos[ParenLevel] == 0) + State.LessLessPos[ParenLevel] = State.Column - 2; ---------------- I assume the -2 magic number here is the sizeof lessless? In that case, why not add Current.Tok.Length() after this if? http://llvm-reviews.chandlerc.com/D177 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
