krasimir added a comment. Thank you! A test would be nice.
================ Comment at: lib/Format/UnwrappedLineParser.cpp:432 size_t OpeningLineIndex = - Lines.empty() ? (UnwrappedLine::kInvalidIndex) : (Lines.size() - 1); + CurrentLines->empty() ? (UnwrappedLine::kInvalidIndex) : (CurrentLines->size() - 1); //////Lines does not account for 'nested' lines ---------------- Could you please reformat and use '//'-style comments? https://reviews.llvm.org/D32524 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits