[cfe-commits] r171716 - /cfe/trunk/lib/Format/Format.cpp

Manuel Klimek klimek at google.com
Mon Jan 7 01:25:37 PST 2013


Author: klimek
Date: Mon Jan  7 03:25:37 2013
New Revision: 171716

URL: http://llvm.org/viewvc/llvm-project?rev=171716&view=rev
Log:
Remove outdated fixme.

Modified:
    cfe/trunk/lib/Format/Format.cpp

Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=171716&r1=171715&r2=171716&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Mon Jan  7 03:25:37 2013
@@ -134,9 +134,6 @@
                  Line.Tokens[i].TokenLength;
       // A special case for the colon of a constructor initializer as this only
       // needs to be put on a new line if the line needs to be split.
-      // FIXME: We need to check whether we're in a preprocessor directive, even
-      // if all tokens fit - the next line might be a preprocessor directive,
-      // too, in which case we need to account for the possible escaped newline.
       if (Columns > Style.ColumnLimit - (Line.InPPDirective ? 1 : 0) ||
           (Annotations[i].MustBreakBefore &&
            Annotations[i].Type != TokenAnnotation::TT_CtorInitializerColon)) {





More information about the cfe-commits mailing list