aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-07 09:25:37 +0000
committerManuel Klimek <klimek@google.com>2013-01-07 09:25:37 +0000
commitf39f6ff8ea2c9136f890a47f0ab784359e9706e6 (patch)
tree06a0baa216bb29560dfe59d1cb29a2c71555b462 /lib/Format/Format.cpp
parentd544c574ccbcbfcb5b3c3edd19956143826008cf (diff)
Remove outdated fixme.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r--lib/Format/Format.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index 7b3c575d0b..77b044d213 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -134,9 +134,6 @@ public:
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)) {